| Install | |
|---|---|
composer require cryental/lumen-artisan-serve |
|
| Latest Version: | 1.5 |
artisan serve for Lumen projects
composer require mlntn/lumen-artisan-serve "~1"
Add the following line to the $commands array in app/Console/Kernel.php:
\Mlntn\Console\Commands\Serve::class,
artisan serve
I didn't write most of this code. It comes straight from laravel/framework by @taylorotwell. I did have to tweak a few things to get it going for Lumen. Enjoy!