About the Package
For years, I tucked performance stats into HTML comments in the footer. It's the perfect middle ground: invisible to users, but instantly available to developers checking if a page is cached or how fast the server responded.
When I started working with Laravel, I found myself missing this lightweight approach. I wanted page generation times in production without installing heavy profiling suites or exposing sensitive data. Laravel Production Stats fills that gap.
Why Use It
Most Laravel profiling tools are designed strictly for local development. They're either too heavy for production or pose security risks. This package is built specifically for your live environment:
- Zero Configuration: Install it and it starts working immediately.
- Non-Intrusive: Stats are injected as simple HTML comments. No visible UI changes for your users.
- Production-Safe: Only processes HTML responses — your API, JSON, and XML feeds are never touched.
- Instant Verification: View the page source to see exactly how your app is performing in the real world.
What It Tracks
- Page generation times: Measures how long each request takes, displayed in milliseconds.
- Slow endpoints: Identify which routes are dragging down your application.
Installation
Install via Composer:
composer require ryanhellyer/laravel-production-stats