leventcz/laravel-top
Real-time, lightweight monitoring for Laravel from the CLI. Listens to request events, aggregates short-lived metrics in Redis, and displays 5-second averages across all app servers. Ideal for production to spot load, latency, and busiest routes.
php artisan top to identify route-specific latency).averageDuration exceeds thresholds).Top::http(), Top::routes()) enables seamless integration with internal dashboards or CLI tools, reducing fragmentation.Executives:
"This package delivers real-time Laravel performance insights in 60 seconds—just run php artisan top—to cut troubleshooting time by 50%+ and eliminate $5k/year APM costs. Compatible with Laravel 13.x, it’s a strategic fit for teams modernizing their stack while keeping monitoring lightweight. No external services, no agents—just instant CLI diagnostics for production incidents, deployments, and sprint retrospectives."
Engineering:
"Seamlessly integrates with Laravel 10–13.x and Redis to show live HTTP metrics (routes, memory, DB queries) via CLI. Zero setup: install, run top, and get insights. The facade (Top::routes(), Top::http()) lets you embed metrics in custom tools. Laravel 13.x support ensures long-term viability. Ideal for quick diagnostics—no dashboards, no overhead. Warning: Redis dependency and no queue/command metrics (use for HTTP-only workloads)."
Developers:
"Need to debug a slow endpoint? Run php artisan top and see real-time route performance—no logs, no dashboards. Works with Laravel Octane and Vapor. Facade API lets you add metrics to your own CLI tools. Pro tip: Pipe output to Slack for post-deploy alerts. Limitations: Only HTTP metrics; Redis required."
How can I help you explore Laravel packages today?