marjose123 / laravel-backup-api
A package to backup your Laravel app via API
1.0.0
2023-07-11 01:49 UTC
Requires
- php: ^8.1 | ^8.0
- calebporzio/sushi: ^2.4
- laravel/framework: ^10.0 | ^9.0
- spatie/laravel-backup: ^8.1 | ^7.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
This package is auto-updated.
Last update: 2024-11-19 05:08:36 UTC
README
This package requires the laravel-backup
to be installed and setup manually by you.
Installation
You can install the package via composer:
composer require marjose123/laravel-backup-api
You can publish the config file with:
php artisan vendor:publish --tag="backup-api-config"
and configure to add permissions, route_prefix, and other settings.
API Routes
- Create Backup
- Method: POST
- URI: http://{domain}/{route_prefix}/create
- List of Backup
- Method: GET
- URI: http://{domain}/{route_prefix}
- List of Backup Disk
- Method: GET
- URI: http://{domain}/{route_prefix}/disks
- Download Backup
- Method: GET
- URI: http://{domain}/{route_prefix}/download/{id}
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.