aaix/laravel-easy-backups
最新稳定版本:1.0.1
Composer 安装命令:
composer require aaix/laravel-easy-backups
包简介
A developer-first, fluent and flexible package for creating database backups in Laravel.
README 文档
README
Laravel Easy Backups
A developer-first, fluent and flexible package for creating backups in Laravel.
Installation
Install the package via Composer:
composer require aaix/laravel-easy-backups
Next, publish the configuration file. This is optional but recommended.
php artisan vendor:publish --provider="Aaix\LaravelEasyBackups\EasyBackupsServiceProvider" --tag="config"
A Quick Look
Laravel Easy Backups provides a fluent, chainable API to define your backup workflows directly in your Laravel application.
Here's a quick example of how to back up your primary database to an S3 disk while ensuring only the 10 most recent backups are kept.
use Aaix\LaravelEasyBackups\Facades\Backup; Backup::database(config('database.default')) ->saveTo('s3') ->compress() ->maxRemoteBackups(10) ->run();
Documentation
For the full documentation, including advanced features, common recipes, and detailed guides, please visit our full documentation website.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-27