aaix/laravel-easy-backups

A developer-first, fluent and flexible package for creating database backups in Laravel.
469 1
Install
composer require aaix/laravel-easy-backups
Latest Version:v1.3.2
PHP:^8.2|^8.3|^8.4|^8.5
Laravel:11 · 12 · 13
License:MIT
Last Updated:Oct 7, 2026
Links: GitHub  ·  Packagist
Maintainer: aaix

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

mikemclin/laravel-wp-password

Laravel package that checks and creates WordPress password hashes

3,726,633 86
nnjeim/world

Laravel countries, states, cities, currencies, languages and IP geolocation

664,307 996
kavenegar/laravel

laravel 4 and 5 kavenegar integration

379,097 86

Version History

Version Released PHP Laravel License
v1.3.2 ^8.2|^8.3|^8.4|^8.5 >=11.0 MIT
v1.3.1 ^8.2|^8.3|^8.4|^8.5 >=11.0 MIT
v1.3.0 ^8.2|^8.3|^8.4|^8.5 >=11.0 MIT
v1.2.1 ^8.2|^8.3|^8.4|^8.5 >=11.0 MIT
v1.2.0 ^8.2|^8.3|^8.4|^8.5 >=11.0 MIT