PHPackages                             orisintel/laravel-migration-snapshot - 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. orisintel/laravel-migration-snapshot

Abandoned → [always-open/laravel-migration-snapshot](/?search=always-open%2Flaravel-migration-snapshot)Library[Database &amp; ORM](/categories/database)

orisintel/laravel-migration-snapshot
====================================

Dump and load snapshots of the schema produced by individual migrations.

v3.0.0(5y ago)17780.7k↓50%12[3 issues](https://github.com/orisintel/laravel-migration-snapshot/issues)[2 PRs](https://github.com/orisintel/laravel-migration-snapshot/pulls)MITPHPPHP ^7.3CI failing

Since Apr 4Pushed 2y ago4 watchersCompare

[ Source](https://github.com/orisintel/laravel-migration-snapshot)[ Packagist](https://packagist.org/packages/orisintel/laravel-migration-snapshot)[ Docs](https://github.com/orisintel/laravel-migration-snapshot)[ RSS](/packages/orisintel-laravel-migration-snapshot/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (4)Versions (19)Used By (0)

Laravel Migration Snapshot
==========================

[](#laravel-migration-snapshot)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5e9a037d4f65cad307e284a7407aeb3c138864389a3e85675456280eda055b08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f726973696e74656c2f6c61726176656c2d6d6967726174696f6e2d736e617073686f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/orisintel/laravel-migration-snapshot)[![Build Status](https://camo.githubusercontent.com/97fd09e2f8453b8b0ea0e2aa1c5ea9d591f9c9673d59cc82a2ebf3bcfa422dd1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f726973696e74656c2f6c61726176656c2d6d6967726174696f6e2d736e617073686f742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/orisintel/laravel-migration-snapshot)[![Total Downloads](https://camo.githubusercontent.com/589d12198e33f641db76a521af7894442ad7ccc0a1d922df2d156ae318b104ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f726973696e74656c2f6c61726176656c2d6d6967726174696f6e2d736e617073686f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/orisintel/laravel-migration-snapshot)

Simplify and accelerate applying many migrations at once using a flattened dump of the database schema and migrations, similar in spirit to Rails' `schema.rb`.

Works with the `mysql`, `pgsql`, and `sqlite` database drivers.

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

[](#installation)

You can install the package via composer:

```
composer require --dev orisintel/laravel-migration-snapshot
```

Database command-line utilities (such as `mysqldump` and `mysql`) must be in the path where Artisan will be run.

Configuration
-------------

[](#configuration)

Put `migration-snapshot.php` into `config` with:

```
php artisan vendor:publish --provider="\OrisIntel\MigrationSnapshot\ServiceProvider"
```

Usage
-----

[](#usage)

Implicitly migrate as load from an earlier, flattened copy:

```
php artisan migrate
```

(When `migrations` table is empty and migrating a configured environment; defaults to 'development', 'local', and 'testing'.)

Migrate without loading from, or dumping to, flattened copy:

```
MIGRATION_SNAPSHOT=0  php artisan migrate
```

Update the flattened SQL file:

```
php artisan migrate:dump
```

Load from the flattened SQL file, **dropping** any existing tables and views:

```
php artisan migrate:load
```

### Testing

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Paul R. Rogers](https://github.com/paulrrogers)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% 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 ~36 days

Recently: every ~71 days

Total

17

Last Release

2005d ago

Major Versions

v0.9.5 → v1.0.02019-05-09

v1.3.3 → v2.0.02020-04-16

v2.0.1 → v3.0.02020-11-12

PHP version history (4 changes)v0.7PHP ^7.1

v2-alphaPHP ^7.2

v2.0.0PHP ^7.2.5

v3.0.0PHP ^7.3

### Community

Maintainers

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

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

![](https://www.gravatar.com/avatar/7006eb1e1f263337f802453bc232edc6edc13324a004c297f8e0c5dbe019ba96?d=identicon)[orisintel](/maintainers/orisintel)

---

Top Contributors

[![paulrrogers](https://avatars.githubusercontent.com/u/5749738?v=4)](https://github.com/paulrrogers "paulrrogers (13 commits)")[![qschmick](https://avatars.githubusercontent.com/u/5342767?v=4)](https://github.com/qschmick "qschmick (1 commits)")

---

Tags

laravelschema-migrationslaravelmigrationlaravel-migration-snapshotorisintel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/orisintel-laravel-migration-snapshot/health.svg)

```
[![Health](https://phpackages.com/badges/orisintel-laravel-migration-snapshot/health.svg)](https://phpackages.com/packages/orisintel-laravel-migration-snapshot)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[dragon-code/laravel-deploy-operations

Performing any actions during the deployment process

240173.5k2](/packages/dragon-code-laravel-deploy-operations)[ucan-lab/laravel-dacapo

Laravel migration support tools

110343.8k](/packages/ucan-lab-laravel-dacapo)

PHPackages © 2026

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