Download the PHP package itxrahulsingh/laravel-monitor without Composer
On this page you can find all versions of the php package itxrahulsingh/laravel-monitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download itxrahulsingh/laravel-monitor
More information about itxrahulsingh/laravel-monitor
Files in itxrahulsingh/laravel-monitor
Package laravel-monitor
Short Description Real-time monitoring for Laravel applications with Pulse-like features
License MIT
Informations about the package laravel-monitor
Laravel Monitor
A real-time monitoring package for Laravel applications, with server metrics (CPU, memory, disk usage) and a Livewire-powered dashboard.
Installation
-
Install the package via Composer:
-
Publish the configuration file:
-
Publish the migrations:
- Run the migrations to create the necessary database tables:
Configuration
Edit config/laravel-monitor.php
to customize monitoring settings, including:
- Recorders (e.g., requests, slow queries, exceptions, jobs, system metrics).
- Notification channels (e.g., email, Slack) and thresholds.
- Data retention periods.
- Dashboard settings (e.g., route, middleware, polling interval).
Example configuration:
Usage
- Access the dashboard at
/monitor
(ensure you're authenticated and authorized). - View real-time metrics, logs, charts, and alerts.
-
Schedule the data trimming command to manage database size:
Add to
app/Console/Kernel.php
for daily execution: - Schedule system metrics collection:
Features
- Real-Time Monitoring: Track HTTP requests, slow queries, exceptions, queue jobs, and server metrics (CPU, memory, disk).
- Pulse-Like Data Storage: Efficient database schema with values, entries, and aggregates.
- Livewire Dashboard: Displays cards, charts, logs, and alerts with real-time updates.
- Notifications: Configurable alerts via email, Slack, etc., for critical events.
- Data Retention: Automatic trimming of old data.
- Extensibility: Add custom recorders and dashboard widgets.
Testing
Run the included tests to verify functionality:
Contributing
Contributions are welcome! Please:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add your feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a pull request on GitHub.
Issues
Report bugs or request features by opening an issue on GitHub.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
MIT License
Copyright (c) 2025 Rahul Singh
See the LICENSE file for details.
Contact
For support, contact Rahul Singh at [email protected].