Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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

like image 220
vanhonit Avatar asked Jan 09 '16 11:01

vanhonit


People also ask

Does lumen have artisan?

Artisan is the command-line interface included with Lumen. It provides a number of helpful commands that can assist you while you build your application.

Why is artisan not working php?

You need to run composer install , so the composer refresh all dependencies, artisan's begin on the middle. That should do the job!


1 Answers

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.

like image 179
Fida Avatar answered Sep 25 '22 02:09

Fida