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. fotobank/backup-migrations

ActiveLibrary

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 4w 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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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

2344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cbca9c9efff6b94d5d5a17ca1adbe87c516b7ceb9e42377191263e20cd3bbf3e?d=identicon)[Jurii](/maintainers/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

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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