Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 2.73 KB

README.md

File metadata and controls

81 lines (50 loc) · 2.73 KB

Laravel Backup Pulse

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

A Laravel Pulse card to monitor the health of the backups, and show an overview of all backups managed by the Laravel-Backup package.

Laravel Backup Pulse

Installation

You can install the package via composer:

composer require monteirofutila/laravel-backup-pulse

Optionally, you can publish the views using

php artisan vendor:publish --tag="backup-pulse-views"

Register the recorder

To run the checks you must add the LaravelBackupPulseRecorder to the pulse.php file.

return [
    // ...
    
    'recorders' => [
+        MonteiroFutila\LaravelBackupPulse\Recorders\LaravelBackupPulseRecorder::class => [],
    ]
]

You also need to be running the pulse:check command.

Add to your dashboard

To add the card to the Pulse dashboard, you must first publish the vendor view

Then, you can modify the dashboard.blade.php file:

<x-pulse>

+    <livewire:backups cols='6' />

</x-pulse>

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.