{"repo":"shuvroroy/filament-spatie-laravel-backup","free":true,"listed":false,"github":"https://github.com/shuvroroy/filament-spatie-laravel-backup","clone":"git clone https://github.com/shuvroroy/filament-spatie-laravel-backup.git","description":"Create backup of a Laravel application","language":"PHP","stars":276,"topics":["laravel","filament","php","laravel-backup"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Filament Spatie Laravel Backup This package provides a Filament page that you can create backup of your application. You'll find installation instructions and full documentation on spatie/laravel-backup. Installation You can install the package via composer: Publish the package's assets: You can publish the lang file with: Usage You first need to register the plugin with Filament. This can be done inside of your PanelProvider , e.g. AdminPanelProvider . If you want to override the default Backups page icon, heading then you can extend the page class and override the navigationIcon property and getHeading method and so on. Then register the extended page class on AdminPanelProvider class. Permissions Setup (for Creating, Downloading & Deleting backups) If you're using Spatie Laravel Permission or Filament Shield, you need to manually define the permissions used by this backup panel. Required Permissions - download-backup – Allows downloading existing backups. - delete-backup – Allows deleting backups from the panel. - create-backup – Allows creating new backups from the panel. Seeder Example You can create a seeder to register these permissions and assign them to a role: Run the seeder using: After this, users with the backup role will have full access to the backup panel. Customising navigation You can customise the navigation icon, label, group, and sort order directly on the plugin without extending the page class: All navigation methods also accept closures for dynamic val","default_branch":null,"files":null,"tree":[],"storefront":"/r/shuvroroy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shuvroroy/filament-spatie-laravel-backup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}