Artisan commands
integrations:sync
Find overdue integrations and dispatch sync jobs.
php artisan integrations:syncFinds all active integrations where next_sync_at has passed and dispatches a SyncIntegration job for each. Add to your scheduler:
Schedule::command('integrations:sync')->everyMinute();integrations:list
Show all integrations with health, last sync, and request counts.
php artisan integrations:listExample output:
+----------+----------+---------+---------------------+----------+-----------+
| Name | Provider | Health | Last Synced | Requests | Error Rate|
+----------+----------+---------+---------------------+----------+-----------+
| Prod ZD | zendesk | healthy | 2026-03-22 10:15:00 | 1,243 | 0.8% |
| GitHub | github | degraded| 2026-03-22 10:10:00 | 891 | 12.3% |
+----------+----------+---------+---------------------+----------+-----------+integrations:health
Detailed health report with error rates, response times, and top errors.
php artisan integrations:healthintegrations:test
Run HasHealthCheck on all supporting integrations.
php artisan integrations:testintegrations:stats
Show request counts, error rates, and cache hit ratios per integration.
php artisan integrations:statsintegrations:prune
Clean up old request and log records based on configured retention.
php artisan integrations:pruneAdd to your scheduler:
Schedule::command('integrations:prune')->daily();Configure retention in config/integrations.php:
'pruning' => [
'requests_days' => 90,
'logs_days' => 365,
'chunk_size' => 1000,
],integrations:recover-webhooks
Reset stale processing webhooks to pending and re-dispatch them.
php artisan integrations:recover-webhooksAdd to your scheduler:
Schedule::command('integrations:recover-webhooks')->hourly();A webhook is considered stale after webhook.processing_timeout seconds (default 30 minutes).
integrations:replay-webhook
Re-dispatch a stored webhook payload.
php artisan integrations:replay-webhook {webhookId}Reconstructs the request from stored data and re-dispatches it through handleWebhook().
make:integration-provider
Scaffold a new provider class. See Scaffolding Providers.
php artisan make:integration-provider {name} [--sync] [--webhooks] [--oauth] [--health-check] [--all]