mlntn / lumen-artisan-serve
artisan serve for Lumen projects
Installs: 84 167
Dependents: 2
Suggesters: 0
Security: 0
Stars: 49
Watchers: 2
Forks: 8
Open Issues: 0
This package is not auto-updated.
Last update: 2024-12-21 20:41:24 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!