Monitor metrics of Laravel disks.
(Spatie Laravel Package Training v2.0 - Creating a Laravel package)
You can install the package via composer:
composer require anamarijapapic/laravel-disk-monitor
You can publish and run the migrations with:
php artisan vendor:publish --tag="disk-monitor-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="disk-monitor-config"
This is the contents of the published config file:
return [
/**
* The names of the disks you want to monitor.
*/
'disk_names' => [
'local',
],
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="disk-monitor-views"
php artisan disk-monitor:record-metrics
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.