Why has the artisan serve command been removed from Lumen 5.2?

后端 未结 5 1903
春和景丽
春和景丽 2021-02-01 06:08

Please. Does anybody know why Lumen\'s team removed the command php artisan serve? That command was very helpful !.

5条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-01 06:18

    There is a lot simple solution that i had tried. You can simply use php composer package flipbox/lumen-generator with the following command.

    composer require flipbox/lumen-generator
    

    Then register this package in your app/bootstrap.php file as

    $app->register(Flipbox\LumenGenerator\LumenGeneratorServiceProvider::class);
    

    Thats all! You can use php artisan commands to make resources (controller, models) and **

    you can also use the php artisan serve command

提交回复
热议问题