Artisan is the command line interface included with Laravel. Artisan exists at the root of your application as the artisan script and 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.
- php artisan list
If you want to create your own artisan command. you can use the below command for that.
- php artisan make:command SendEmails