PHPackages                             ichie-benjamin/lara-backup-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. ichie-benjamin/lara-backup-manager

ActiveLibrary[File &amp; Storage](/categories/file-storage)

ichie-benjamin/lara-backup-manager
==================================

A simple file and database backup and restore manager for laravel framework

21591PHP

Since Dec 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ichie-benjamin/lara-backup-manager)[ Packagist](https://packagist.org/packages/ichie-benjamin/lara-backup-manager)[ RSS](/packages/ichie-benjamin-lara-backup-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Lara BackupManager
==================

[](#lara-backupmanager)

Lara-Backup-Manager is a versatile Laravel package designed to simplify the backup and restoration process for your Laravel applications. With support for various storage options defined in your filesystem.php configuration, it offers flexibility in managing your data backups. Additionally, this package goes a step further by allowing custom HTTP server integration for storage, making it a comprehensive solution for safeguarding your application's critical data. Whether you need to create routine backups or restore your data seamlessly, Lara-Backup-Manager provides an efficient and user-friendly solution for your Laravel projects.

Screenshot
----------

[](#screenshot)

[![Screenshot 1](img.png)](img.png)

[![Screenshot 2](file.gif)](file.gif)

[![Screenshot 3](file1.gif)](file1.gif)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.3
- Laravel 6+
- `mysql` (to restore database)
- `mysqldump` (to backup database)
- `tar` (to backup/restore files)
- `zcat` (to extract database archive)

Please make sure above binaries are added to `PATH` environment variable or you can specify full path to them in config file.

Installation
------------

[](#installation)

Via Composer

```
$ composer require ichie-benjamin/lara-backup-manager
```

(Optional) Add Facade to `config/app.php` in `aliases` section:

```
'BackupManager' => IchieBenjamin\LaraBackupManager\Facades\BackupManager::class,
```

---

Publish package's files by running below command:

```
$ php artisan vendor:publish --provider="IchieBenjamin\LaraBackupManager\ServiceProvider"
```

It should publish `config/lara-backup-manager.php` config file and migration file.

Run `php artisan migrate` to create backup verifier (`verifybackup`)) table.

---

Finally setup options in `config/lara-backup-manager.php` file and open the backup manager at url you have specified in `route` option eg `http//yourapp.com/lara-backup-manager`, you should now see interface of BackupManager.

See `config/lara-backup-manager.php` file for more information about backup settings.

Setting Up Automatic Backups
----------------------------

[](#setting-up-automatic-backups)

To setup automatic backups, place following in `app/Console/Kernel.php` file:

```
$schedule->command('backupmanager:create')->daily();
$schedule->command('backupmanager:create --only="db"')->everySixHours();
```

This package provides GUI interface to manage backups, also this following commands are also available:

```
  backupmanager:create                  Creates backup of files and/or database.
  backupmanager:create --only="db"      Creates backup of database only.
  backupmanager:create --only="files"   Creates backup of files only.
  backupmanager:list                    Shows list of backups taken.
  backupmanager:restore                 Restores a backup already taken.
```

Saving Backups to Other Disks
-----------------------------

[](#saving-backups-to-other-disks)

By default this package saves backups to `local` disk but you can use built-in feature of laravel filesystem to save backups to other disks too. Let's say you want to upload to different server for which you have ftp credentials, you need to update those ftp credentials into laravel's `config/filesystems.php` file under `ftp` disk setting. Once you have done that, in backup manager config file (`config/backupmanager.php`) specify your disk to be `ftp` instead of `local` eg:

```
// define disk options
'disk' => 's3',

```

instead of

```
 'disk' => 'local',

```

Now backup files will be saved to s3 instead of locally.

Disclaimer
----------

[](#disclaimer)

This package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel or any of its affiliates.

Security
--------

[](#security)

If you discover any security related issues, please email [ichiebenjamin](mailto:ichiebenjaminchukwudi@gmail.com) instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ichie Benjamin](https://github.com/ogbuechi)

License
-------

[](#license)

Please see the [license file](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fbf38a4764e5027801f5e336479f71c8aaadc9f451a330d11c748ef46148b01?d=identicon)[ichie-benjamin](/maintainers/ichie-benjamin)

---

Top Contributors

[![ichie-benjamin](https://avatars.githubusercontent.com/u/17482871?v=4)](https://github.com/ichie-benjamin "ichie-benjamin (22 commits)")

### Embed Badge

![Health badge](/badges/ichie-benjamin-lara-backup-manager/health.svg)

```
[![Health](https://phpackages.com/badges/ichie-benjamin-lara-backup-manager/health.svg)](https://phpackages.com/packages/ichie-benjamin-lara-backup-manager)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
