mlntn / lumen-artisan-serve by mlntn

artisan serve for Lumen projects
84,166
49
2
Package Data
Maintainer Username: mlntn
Maintainer Contact: jared@mellentine.com (Jared Mellentine)
Package Create Date: 2016-01-25
Package Last Update: 2021-06-06
Language: PHP
License: MIT
Last Refreshed: 2024-12-23 03:11:11
Package Statistics
Total Downloads: 84,166
Monthly Downloads: 1,115
Daily Downloads: 0
Total Stars: 49
Total Watchers: 2
Total Forks: 8
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!