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

后端 未结 5 1827
春和景丽
春和景丽 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:28

    Why don't you use PHP's built-in web server which comes out of the box when you install PHP onto your computer?

    Just get into the root directory of your Lumen app and type the following, so your project will be served locally.

     php -S localhost:8000 -t ./public
    

    Note: This PHP built-in web server is intended only for Development environment.

提交回复
热议问题