Dashboard
The landing page after sign-in — a snapshot of recent activity, content health, and quick links.
Route
GET /admin/dashboard
Handled by DashboardController@index. Returns the admin.dashboard Blade view.
Widgets
- Content counts — total entries per content model.
- Recent entries — latest 10 entries across all models, with quick edit links.
- Recent form submissions — most recent unread submissions.
- Recent activity — last N activity log items (who did what, when).
- API usage — request volume from
api_request_logsover the last 24 hours. - Media usage — total file count and storage consumed.
Building on the dashboard
Each widget is a self-contained Blade partial under resources/views/admin/dashboard/widgets/. The controller batches the underlying queries so the page loads with a single round trip per data source.
Performance tipCache widget data (counts, recent activity) in Redis with a short TTL — the dashboard is hit on every login.