Artisan is the command-line tool for Laravel to help the developer build the application. You can enter the below command to get all the available commands:
- PHP artisan list: Artisan command can help in creating the files using the make command. Some of the useful make commands are listed below:
- php artisan make:controller - Make Controller file
- php artisan make:model - Make a Model file
- php artisan make:migration - Make Migration file
- php artisan make:seeder - Make Seeder file
- php artisan make:factory - Make Factory file
- php artisan make:policy - Make Policy file
- php artisan make:command - Make a new artisan command