cronradar / laravel
Monitor Laravel scheduled tasks with selective or MonitorAll modes. Auto-discovers keys and schedules.
0.0.8
2025-11-08 19:14 UTC
Requires
- php: ^8.1
- cronradar/php: ^0.0.6
- laravel/framework: ^10.0|^11.0|^12.0
README
Monitor Laravel scheduled tasks automatically. Monitors all tasks by default - use ->skipMonitor() to opt-out.
Installation
composer require cronradar/laravel
Quick Start
All tasks are monitored automatically:
// In routes/console.php or bootstrap/app.php
use Illuminate\Support\Facades\Schedule;
Schedule::command('emails:send')->hourly();
// Monitored automatically
Schedule::command('reports:generate')->daily();
// Monitored automatically
Schedule::command('internal:cleanup')
->daily()
->skipMonitor(); // Opt-out
Configuration
Add to .env:
CRONRADAR_API_KEY=ck_app_xxxxx_yyyyy
Custom Monitor Keys
$schedule->command('reports:generate')
->daily()
->monitor('custom-report-key'); // Optional custom key
If no key provided, auto-detects from command name.
Requirements
- PHP 8.1+
- Laravel 10.x, 11.x, or 12.x
Links
See also: CronRadar PHP SDK