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

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

pangolinkeys/backup-migrations
==============================

A package that takes a backup of the database before running a migration

v0.0.8(7y ago)0391MITPHP

Since Jun 13Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (9)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 pangolinkeys/backup-migrations`

Register the `BackupMigrationsServiceProvider:class`service provider in the applications providers array.

Run `php artisan vendor:publish`to publish the config file.

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 a backup use the

`--file=`

option.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

8

Last Release

2886d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3afe8acbbf4d78685ad0b82759e7395f3602dfa6631f4bf1a5ace81e5741c99?d=identicon)[pangolinkeys](/maintainers/pangolinkeys)

---

Top Contributors

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

---

Tags

artisanartisan-commandbackupbackup-scriptlaravelmigrationsphpseedseeders

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[matanyadaev/laravel-eloquent-spatial

Spatial library for Laravel

3982.9M15](/packages/matanyadaev-laravel-eloquent-spatial)[overtrue/laravel-versionable

Make Laravel model versionable.

585308.0k5](/packages/overtrue-laravel-versionable)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[dragon-code/laravel-deploy-operations

Performing any actions during the deployment process

240173.5k2](/packages/dragon-code-laravel-deploy-operations)[stayallive/laravel-eloquent-observable

Register Eloquent model event listeners just-in-time directly from the model.

2928.9k7](/packages/stayallive-laravel-eloquent-observable)

PHPackages © 2026

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