cryental / lumen-artisan-serve
artisan serve for Lumen projects
1.5
2021-06-06 14:04 UTC
README
artisan serve for Lumen projects
Installation
-
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
Disclaimer
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!