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

vanhonit picture vanhonit · Jan 9, 2016 · Viewed 32.6k times · Source

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

Answer

Fida picture Fida · Jun 18, 2016

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.