Here is must-use Laravel 20 Artisan Commands,
- To start the Laravel Server while developing Laravel Application you can use the below command →
php artisan serve
- To check the all route list while developing Laravel Application you can use the below command →
php artisan route:list - To clear the Configuration Cache you can use the below command
php artisan config:clear
- To clear the route cache you can use the below code
php artisan route:clear
- To clear the compiled views you can use the below command
php artisan view:clear
- To clear the cache events you can use the below command
php artisan event:clear
- To clear the application cache you can use the below command
php artisan cache:clear
- To enable the maintenance mode you can use the below command
php artisan down
- To disable the maintenance mode you can use the below command
php artisan up
- To create the application key you can use the below command
php artisan key:generate
- To create a controller you can use the below command
php artisan make:controller ArtisanController
- For creating Eloquent Model you can use the below command
php artisan make:model Artisan
- For creating a migration table you can use the below command
php artisan make:migration create_artisan_table
- To do the database migration you can use the below command
php artisan migrate
- For Scaffolding Vue Front-end you can use the below code
php artisan ui vue
- For Scaffolding React Vue Front-End you can use the below command
php artisan ui react
- For Scaffolding Bootsatrp Front-End you can use the below command
php artisan ui bootstrap
- To remove the Scaffolding you can use the below command
php artisan preset none
- To Create New Middleware Class you can use the below command
php artisan make:middleware CheckAge
- To create a new email class you can use the below command
php artisan make:mail NewOrder