+1 vote
in Laravel by
What is an artisan?

1 Answer

0 votes
by

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:

  1. PHP artisan list: Artisan command can help in creating the files using the make command. Some of the useful make commands are listed below:
  2. php artisan make:controller - Make Controller file
  3. php artisan make:model - Make a Model file
  4. php artisan make:migration - Make Migration file
  5. php artisan make:seeder - Make Seeder file
  6. php artisan make:factory - Make Factory file
  7. php artisan make:policy - Make Policy file
  8. php artisan make:command - Make a new artisan command
...