What
php artisan pharos:check --force prints a human table. Add --json that prints one JSON document: per component id, name, type, target, ok, status, ms, error. Useful for cron mails, Zabbix/Nagios wrappers and CI.
Where
app/Console/Commands/RunChecks.php (signature + output), a test in tests/Feature.
Done when
php artisan pharos:check --force --json | jq . works, exit code stays 0/1 as today, README "Check it is alive" shows the flag.
What
php artisan pharos:check --forceprints a human table. Add--jsonthat prints one JSON document: per componentid,name,type,target,ok,status,ms,error. Useful for cron mails, Zabbix/Nagios wrappers and CI.Where
app/Console/Commands/RunChecks.php(signature + output), a test intests/Feature.Done when
php artisan pharos:check --force --json | jq .works, exit code stays 0/1 as today, README "Check it is alive" shows the flag.