aaix/laravel-easy-backups
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
The Easy Way (CLI)
Use the interactive wizard to create or restore backups without remembering flags:
php artisan easy-backups
Or use the robust direct commands for cronjobs, scripts, and CI/CD:
php artisan easy-backups:db:create --compress
php artisan easy-backups:db:restore
The Flexible Way (Fluent API)
Define custom backup workflows directly in your code using the chainable API:
use Aaix\LaravelEasyBackups\Facades\Backup;
Backup::database(config('database.default'))
->saveTo('backup')
->compress()
->maxRemoteBackups(10)
->run();
Documentation
For the full documentation, including advanced features, common recipes, and detailed guides, please visit our full documentation website.
Related Packages
Laravel package that checks and creates WordPress password hashes
Laravel countries, states, cities, currencies, languages and IP geolocation
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.4.1 | ^8.2| | >=11.0 | MIT | |
| v1.4.0 | ^8.2| | >=11.0 | MIT | |
| v1.3.2 | ^8.2| | >=11.0 | MIT | |
| v1.3.1 | ^8.2| | >=11.0 | MIT | |
| v1.3.0 | ^8.2| | >=11.0 | MIT | |
| v1.2.1 | ^8.2| | >=11.0 | MIT | |
| v1.2.0 | ^8.2| | >=11.0 | MIT | |
| v1.1.5 | ^8.2| | >=11.0 | MIT | |
| v1.1.4 | ^8.2| | >=11.0 | MIT | |
| 1.1.3 | ^8.2| | ^11.0| | MIT | |
| v1.1.2 | ^8.2| | ^11.0| | MIT | |
| v1.1.1 | ^8.2| | ^11.0| | MIT | |
| v1.1.0 | ^8.2| | ^11.0| | MIT | |
| v1.0.14 | ^8.2| | ^11.0| | MIT | |
| v1.0.13 | ^8.2| | ^11.0| | MIT | |
| v1.0.12 | ^8.2| | ^11.0| | MIT | |
| v1.0.11 | ^8.2| | ^11.0| | MIT | |
| v1.0.10 | ^8.2| | ^11.0| | MIT | |
| v1.0.9 | ^8.2| | ^11.0| | MIT | |
| v1.0.8 | ^8.2| | ^11.0| | MIT | |
| v1.0.7 | ^8.2| | ^11.0| | MIT | |
| v1.0.6 | ^8.2| | ^11.0| | MIT | |
| v1.0.5 | ^8.2| | ^11.0| | MIT | |
| v1.0.4 | ^8.2| | ^11.0| | MIT | |
| 1.0.1 | ^8.2| | ^11.0| | MIT | |
| 1.0.0 | ^8.2| | ^11.0| | MIT |