mlntn / lumen-artisan-serve
artisan serve for Lumen projects
Installs: 82 763
Dependents: 2
Suggesters: 0
Security: 0
Stars: 49
Watchers: 2
Forks: 8
Open Issues: 0
This package is not auto-updated.
Last update: 2024-11-09 20:01:39 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!