php artisan make:command CommandName code example Example: artisan make command php artisan make:command CommandName