September 2017
Intermediate to advanced
244 pages
6h 44m
English
Technically, this is not the first controller, as Lumen comes with 2 controllers which you can find in the /<our blog project path>/app/Http/Controllers/ directory. But this is our first controller that we are going to write. In Laravel (the big brother of Lumen), we don't need to go and create a controller because there are commands for that, but for Lumen those commands are not available. As these commands are not mandatory but very handy, it is better if we make those commands available.
To use the extra features that we don't get with Lumen (some of which come in Laravel already), we need to install a package. Right now, the package we need to install is flipbox/lumen-generator. More information about this ...
Read now
Unlock full access