Create the command with Artisan's generator: ```bash php artisan make:command SendNewsletters ``` Define an explicit signature and return an integer from `handle()`: ```php protected $signature = 'newsletters:send {--queue}'; public function handle(): int { // coordinate the use case or dispatch a job return self::SUCCESS; } ``` Commands under `app/Console/Commands/` are auto-discovered. Keep heavy work in queued Jobs and use the command as an operator-facing entry point. Schedule it in the c...
Installs into .claude/skills of the current project.
Are you the author of Laravel Tooling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-laravel-tooling-agent-skills-standard)
Create the command with Artisan's generator:
```bash
php artisan make:command SendNewsletters
```
Define an explicit signature and return an integer from `handle()`:
```php
protected $signature = 'newsletters:send {--queue}';
public function handle(): int
{
// coordinate the use case or dispatch a job
return self::SUCCESS;
}
```
Commands under `app/Console/Commands/` are auto-discovered. Keep heavy work in queued Jobs and use the command as an operator-facing entry point. Schedule it in the current Laravel bootstrap configuration when needed, and run Pint before merging.