System Health
The AdminHealthController provides a single endpoint that returns a comprehensive health check of the entire platform.
Endpoint
GET /api/admin/health
Server Information
- Hostname — server hostname
- Operating system — OS name and version
- Timezone — server timezone setting
- Uptime — system uptime
PHP
- Version — currently running PHP version
- Memory limit — configured memory limit
- Loaded extensions — list of active PHP extensions
Laravel
- Version — Laravel framework version
- Environment — current environment (
production,staging, etc.) - Debug mode — whether debug mode is active
- Drivers — cache, queue, session, and mail drivers in use
Service Connectivity
Each service is checked and reported as ok or error with a response time:
- Database — connection and query test
- Redis — ping check
- Cache — write and read test
- Queue — driver availability
- Mail — transport connectivity
- Storage — disk write test
Configuration Summary
- Billing gateway — active payment gateway (Stripe, Paddle, etc.)
- SSO mode — OAuth, SAML, or disabled
- Tenant mode — personal or team
- Auth methods — which login methods are enabled
Storage & Entity Counts
{
"storage": {
"disk_total_gb": 50.0,
"disk_used_gb": 12.4,
"disk_free_gb": 37.6,
"usage_percent": 24.8
},
"counts": {
"users": 1284,
"organizations": 340,
"subscriptions": 280,
"api_keys": 156,
"audit_logs": 48230
}
}