Laravel

Laravel Basics: Serve Your Application

Need a quick and easy way to run your Laravel application? Maybe you don’t feel like launching Homestead? Maybe you like to type words to make things happen? Either way, Laravel provides super simple way to run your app AND satisfy your hunger for pressing keys.

Navigate to your app’s root directory and type:

You should see:

Open your favorite browser and visit http://localhost:8000 to see your app in action.

To stop the server press Ctrl+c

There are a few options for serve, to change the host:

To change the port:

For a list of all of the options:

 

Leave a Reply

Your email address will not be published. Required fields are marked *