{"repo":"leventcz/laravel-top","free":true,"listed":false,"github":"https://github.com/leventcz/laravel-top","clone":"git clone https://github.com/leventcz/laravel-top.git","description":"🚀 Real-time monitoring from the command line for Laravel applications.","language":"PHP","stars":584,"topics":["apm","cli","command-line-tool","laravel-package","metrics","realtime-monitoring"],"license":"MIT","category":"analytics","readme_excerpt":"Top provides a lightweight solution for real-time monitoring directly from the command line for Laravel applications. It is designed for production environments, enabling you to effortlessly track essential metrics and identify the busiest routes. How it works Top listens to Laravel events and saves aggregated data to Redis behind the scenes to calculate metrics. The aggregated data is stored with a short TTL, ensuring that historical data is not retained and preventing Redis from becoming overloaded. During display, metrics are calculated based on the average of the last 5 seconds of data. Top only listens to events from incoming requests, so metrics from operations performed via queues or commands are not reflected. Since the data is stored in Redis, the output of the top command reflects data from all application servers, not just the server where you run the command. Installation Compatible with Laravel 10+ and Laravel Octane. Requires PHP 8.2+ Redis 5.0+ Configuration You can publish the config file with: Facade If you want to access metrics in your application, you can use the Top facade. Testing License The MIT License (MIT). Please see License File for more information.","default_branch":null,"files":null,"tree":[],"storefront":"/r/leventcz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leventcz/laravel-top/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}