PHP artisan is a command-line tool available in Laravel that comes with a variety of useful commands which help create an application quickly and hassle-free. You will get commands for every important task by default, like database seeding, migration, configuring cache, and many others.
The following are some important PHP artisan commands :
php artisan make:controller
: Used for creating a Controller file
php artisan make:model
: Used for making a Model file
php artisan make:migration
: Used for making the Migration file
php artisan make:seeder
: Used for making the Seeder file
php artisan make:factory
: Used for making the Factory file
php artisan make:policy
: Used for making the Policy file
php artisan make:command
: Used for making a new artisan command