Dingo, simplifying RESTful API development
Yes, you heard it right. I didn't say bingo. It's Dingo. Actually, API is a package for Laravel and Lumen that makes it a lot simpler to develop RESTful web services. It provides many features out of the box and many are what we saw in the previous chapter. Many of these features will make our existing code better and easier to understand and maintain. You can check out the API package at https://github.com/dingo/api.
Let's first install it, and we will keep looking at its benefits and features side by side while using them.
Installation and configuration
Simply it through composer:
composer require dingo/api:1.0.x@dev
Probably, you are wondering what this @dev
is. So, here is what the documentation says:
At this time, the package is still in a developmental stage and as such, does not have a stable release. You may need to set your minimum stability to dev.
If you are still not sure about why we need to set minimum stability, then it is because of...