monteirofutila/laravel-backup-pulse

A Laravel Pulse card to monitor the health of the backups, and show an overview of all backups

v0.1.0 2024-10-13 23:43 UTC

This package is auto-updated.

Last update: 2024-10-15 09:59:16 UTC


README

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.