PHPackages                             fotobank/backup-migrations - 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. [Database &amp; ORM](/categories/database)
4. /
5. fotobank/backup-migrations

ActiveLibrary[Database &amp; ORM](/categories/database)

fotobank/backup-migrations
==========================

The package, which makes the database backup before performing the migration or seeder

V0.1(6y ago)011MITPHP

Since Dec 7Pushed 6y agoCompare

[ Source](https://github.com/fotobank/backup-migrations)[ Packagist](https://packagist.org/packages/fotobank/backup-migrations)[ RSS](/packages/fotobank-backup-migrations/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

backup-migrations
=================

[](#backup-migrations)

Repository to perform a database backup before migrations and seeds are run.

Require this package using

`composer require fotobank/backup-migrations`

Register the

`Fotobank\BackupMigrations\BackupMigrationsServiceProvider::class,`

service provider in the applications providers array.

Run publish command

`php artisan vendor:publish --tag="backup-migrations"	`

to publish the config file.

Add to file config/filesystems.php disk 'backup'

```
\\
'backup' => [
	        'driver' => 'local',
	        'root' => storage_path('mysql_dump'),
	        'url' => env('APP_URL').'/storage',
	        'visibility' => 'public',
        ],
\\

```

Run the commands

`php artisan migrate`

`php artisan db:seed`

as usual. In the background a backup dump of the database will be taken.

To restore the most recent backup run

`php artisan migrate:restore`

To specify file a backup use the

`--file=`

option.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.2% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2401d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3252395?v=4)[Jurii](/maintainers/Jurii)[@Jurii](https://github.com/Jurii)

---

Top Contributors

[![fotobank](https://avatars.githubusercontent.com/u/3964784?v=4)](https://github.com/fotobank "fotobank (33 commits)")[![pangolinkeys](https://avatars.githubusercontent.com/u/18718938?v=4)](https://github.com/pangolinkeys "pangolinkeys (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fotobank-backup-migrations/health.svg)

```
[![Health](https://phpackages.com/badges/fotobank-backup-migrations/health.svg)](https://phpackages.com/packages/fotobank-backup-migrations)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11223.5M33](/packages/anourvalar-eloquent-serialize)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

10.2k3.5k](/packages/leantime-leantime)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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