Skip to content

Monitor metrics of Laravel disks. (Spatie Laravel Package Training v2.0 - Creating a Laravel package)

License

Notifications You must be signed in to change notification settings

anamarijapapic/laravel-disk-monitor

Repository files navigation

Monitor metrics of Laravel disks.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Monitor metrics of Laravel disks.
(Spatie Laravel Package Training v2.0 - Creating a Laravel package)

Installation

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"

Usage

php artisan disk-monitor:record-metrics

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Monitor metrics of Laravel disks. (Spatie Laravel Package Training v2.0 - Creating a Laravel package)

Resources

License

Stars

Watchers

Forks

Packages

No packages published