Cryental / lumen-artisan-serve by Cryental
forked from mlntn/lumen-artisan-serve

artisan serve for Lumen projects
214
0
0
Package Data
Maintainer Username: Cryental
Maintainer Contact: jared@mellentine.com (Jared Mellentine)
Package Create Date: 2021-06-04
Package Last Update: 2021-06-26
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:14:38
Package Statistics
Total Downloads: 214
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 0
Total Forks: 0
Total Open Issues: 0

artisan serve... for Lumen

artisan serve for Lumen projects

Installation

  1. composer require mlntn/lumen-artisan-serve "~1"

  2. Add the following line to the $commands array in app/Console/Kernel.php:

    \Mlntn\Console\Commands\Serve::class,

  3. 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!