Laravel PHP artisan Command list | all artisan command complete list with example

All laravel php artisan command list with examples. Here we have listed some commanly used laravel php artisan commands with some explationations and examples.

How to Generate new key for your laravel application.
php artisan key:generate

Start your laravel project server

php artisan serve

This will start your laravel project in http://127.0.0.1:8000 normaly 

you can set your own localhost ip for laravel project using this command, so you can access your laravel project in any system in your local network.

php artisan serve --host 192.168.1.101 --port 80

The above command will start your laravel project in 192.168.1.101 your offline laravel site can be accessed by typing above url on your localhost network.

How to make controller in Laravel using php artisan Command?

make:controller YourTextController

Other posts