create custom php artisan command code example Example: create custom artisan command laravel php artisan make:command SendEmail