1.

What is an artisan?

Answer»

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



Discussion

No Comment Found