Monitor your Laravel servers
Monitor your Laravel applications server with a beautiful dashboard and get notified if anything gets wrong!
This package works only on Linux servers.
1) Install the latest version from composer
For PHP >= 8.1
composer require saeedvaziry/laravel-monitoringFor PHP [ ... 'Monitoring' => \SaeedVaziry\Monitoring\Facades\Monitoring::class ... ];
With this Facade you can access the server's resource usages.
Example usages:
```php
Monitoring::cpu()->usage(); // returns CPU usage
Monitoring::memory()->usage(); // returns Memory usage
Monitoring::disk()->usage(); // returns Disk usageWithout purging, the monitoring_records table can accumulate records very quickly. To mitigate this, you should schedule the monitoring:purge Artisan command to run daily or any time you wish.
You can also, Set the purge_before configuration at config/monitoring.php.
$schedule->command('monitoring:purge')->daily();Please feel free to submit an issue or open a PR.
Laravel Monitoring is open-sourced software and licensed under the MIT License (MIT).
No open issues yet, or sync has not completed.