List Of Artisan Commands Used In Laravel Framework

admin_img Posted By Bajarangi soft , Posted On 17-09-2020

Artisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you while you build your application. To view a list of all available Artisan commands, you may use the list command:

List Of Artisan Commands Used In Laravel Framework

Artisan Commands

1.make:auth  :used to scaffold basic login and registration views and routes

php artisan make:auth


2.make:console :used to create a new Artisan command

php artisan make:console


3.make:controller :used to create a new controller class

php artisan make:controller  controller_name


4. make:entity :used to create a new entity.

php artisan make:entity    


5.make:event  :used to create a new event class

php artisan make:event name


6.make:job :used to create a new job class

php artisan make:job name         


7.make:listener  used to create a new event listener class

php artisan make:listener name     


8.make:middleware :used to create a new middleware class

php artisan make:middleware name


9.make:migration :used to create a new migration file

php artisan make:migration name   


10. make:model :used to create a new Eloquent model class

php artisan make:model name      


11. make:policy :used to create a new policy class

php artisan make:policy name


12.make:presenter :used to create a new presenter.

php artisan make:presenter name   


13. make:provider :used to create a new service provider class

php artisan make:provider name   


14.make:repository :used to create a new repository.

php artisan make:repository name


15. make:request : used to create a new form request class

php artisan make:request name


16. make:seeder  : used to create a new seeder class

php artisan make:seeder name       


17. make:test :used to create a new test class

php artisan make:test name


18.make:transformer :used to create a new transformer.

php artisan make:transformer name


Now you can check the below commands in your laravel projects

php artisan make:bindings
php artisan make:channel
php artisan make:command
php artisan make:controller
php artisan make:criteria
php artisan make:entity
php artisan make:event
php artisan make:exception
php artisan make:export
php artisan make:factory
php artisan make:import
php artisan make:job
php artisan make:listener
php artisan make:mail
php artisan make:middleware
php artisan make:migration
php artisan make:model
php artisan make:notification
php artisan make:observer
php artisan make:policy
php artisan make:presenter
php artisan make:provider
php artisan make:repository
php artisan make:request
php artisan make:resource
php artisan make:rest-controller
php artisan make:rule
php artisan make:seeder
php artisan make:test
php artisan make:transformer
php artisan make:validator

Related Post