PHPackages                             umbrellio/php-deploy - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. umbrellio/php-deploy

Abandoned → [https://github.com/umbrellio/rollback-missing-migrations](/?search=https%3A%2F%2Fgithub.com%2Fumbrellio%2Frollback-missing-migrations)Library[DevOps &amp; Deployment](/categories/devops)

umbrellio/php-deploy
====================

Laravel package for rolling back migrations between different releases

4.0.1(1y ago)214[1 PRs](https://github.com/umbrellio/rollback-missing-migrations/pulls)MITPHPPHP ^8.3|^8.4CI passing

Since Jan 2Pushed 1y ago2 watchersCompare

[ Source](https://github.com/umbrellio/rollback-missing-migrations)[ Packagist](https://packagist.org/packages/umbrellio/php-deploy)[ RSS](/packages/umbrellio-php-deploy/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (9)Versions (23)Used By (0)

Rollback Missing Migrations for Laravel
=======================================

[](#rollback-missing-migrations-for-laravel)

###### Laravel package for rolling back migrations between different releases

[](#laravel-package-for-rolling-back-migrations-between-different-releases)

[![Github Status](https://github.com/umbrellio/rollback-missing-migrations/workflows/CI/badge.svg)](https://github.com/umbrellio/rollback-missing-migrations/actions)[![Coverage Status](https://camo.githubusercontent.com/248ea0bf229c3dcae20837cd3a9139e4ab0ef15183f30548152c011bc233493a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f756d6272656c6c696f2f726f6c6c6261636b2d6d697373696e672d6d6967726174696f6e732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/umbrellio/rollback-missing-migrations?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/d78ddff10ea04649752f9380975cf22d230bb03164d941bcfdf51f38a602f889/68747470733a2f2f706f7365722e707567782e6f72672f756d6272656c6c696f2f726f6c6c6261636b2d6d697373696e672d6d6967726174696f6e732f762f737461626c652e706e67)](https://packagist.org/packages/umbrellio/rollback-missing-migrations)[![Total Downloads](https://camo.githubusercontent.com/8b906ce2c727d9689798144ec3a7d24c1f41faf5d8ffc03bb71efbc9342456dc/68747470733a2f2f706f7365722e707567782e6f72672f756d6272656c6c696f2f726f6c6c6261636b2d6d697373696e672d6d6967726174696f6e732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/umbrellio/rollback-missing-migrations)[![Code Intelligence Status](https://camo.githubusercontent.com/1f35fee00809c9d160abfaccde70aae04a1b2c1572b5fb0fcd6a2a4809f924e5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f756d6272656c6c696f2f726f6c6c6261636b2d6d697373696e672d6d6967726174696f6e732f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Build Status](https://camo.githubusercontent.com/660ed93af27ea2f194852cc4a6af599b1bdf7045195c98e1c45524251cdfc84c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f756d6272656c6c696f2f726f6c6c6261636b2d6d697373696e672d6d6967726174696f6e732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/umbrellio/rollback-missing-migrations/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/9d1169f98a3504803ef5a497375ac41c3321d461b258c5b46aaf2cff298061cb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f756d6272656c6c696f2f726f6c6c6261636b2d6d697373696e672d6d6967726174696f6e732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/umbrellio/rollback-missing-migrations/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cc89c864943e7d4a48b1ea5bdb12049737cd33d3b4f43b3c0d994d60cd2651e0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f756d6272656c6c696f2f726f6c6c6261636b2d6d697373696e672d6d6967726174696f6e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/umbrellio/rollback-missing-migrations/?branch=master)

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

[](#installation)

**composer**

`composer require umbrellio/rollback-missing-migrations`

Usage
-----

[](#usage)

In your **new** release directory:

`php artisan rollback_missing_migrations:rollback `

- `` - absolute path to artisan command in previous release

Example:

`php artisan rollback_missing_migrations:rollback /projects/old_release/your_app/artisan`

If your migrations files locate in the custom directory you can use optional parameters:

- `--path` - path where your migration files locate in **current** release
- `--old-path` - path where your migration files locate in **old** release
- `--realpath` - this flag indicates, how `--path` and `--old-path` formats (absolute or relative) will be recognized

Example with a relative path:

```
php artisan rollback_missing_migrations:rollback /projects/old_release_app/artisan \
    --old-path=database/old_custom_folder \
    --path=database/custom_migration_folder

```

Example with an absolute path:

```
php artisan rollback_missing_migrations:rollback /projects/old_release/your_app/artisan \
    --old-path=/projects/old_release/your_app/database/old_custom_folder \
    --path=/new_release/your_app/database/custom_migration_folder \
    --realpath

```

In case if you need rollback new migrations different from origin/master, you can use `rollback_new_migrations:rollback`

Authors
-------

[](#authors)

Created by Art4es &amp; Korben Dallas.

[![Supported by Umbrellio](https://camo.githubusercontent.com/cfae343fcdcb3e8680353f5f058271ed6a749151ae073ae4d9e083e5e1aeb045/68747470733a2f2f756d6272656c6c696f2e6769746875622e696f2f556d6272656c6c696f2f737570706f727465645f62795f756d6272656c6c696f2e737667)](https://github.com/umbrellio/)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance44

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

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

Every ~89 days

Recently: every ~78 days

Total

18

Last Release

439d ago

Major Versions

1.1.0 → 2.0.02021-01-18

2.5.0 → 3.0.02024-05-02

2.5.1 → 4.0.02024-09-15

PHP version history (3 changes)1.0.0PHP ^7.3|^7.4|^8.0

2.5.0PHP ^7.3|^7.4|^8.0|^8.1|^8.2

3.0.0PHP ^8.3|^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16900171?v=4)[Corben Dallas](/maintainers/pvsaintpe)[@pvsaintpe](https://github.com/pvsaintpe)

---

Top Contributors

[![pvsaintpe](https://avatars.githubusercontent.com/u/16900171?v=4)](https://github.com/pvsaintpe "pvsaintpe (13 commits)")[![lazeevv](https://avatars.githubusercontent.com/u/36244644?v=4)](https://github.com/lazeevv "lazeevv (2 commits)")[![evgeek](https://avatars.githubusercontent.com/u/93479789?v=4)](https://github.com/evgeek "evgeek (1 commits)")[![Kosadchiy](https://avatars.githubusercontent.com/u/35429123?v=4)](https://github.com/Kosadchiy "Kosadchiy (1 commits)")[![Kriso1337](https://avatars.githubusercontent.com/u/26929000?v=4)](https://github.com/Kriso1337 "Kriso1337 (1 commits)")

---

Tags

phplaraveldeployumbrelliorollback migrations

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/umbrellio-php-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/umbrellio-php-deploy/health.svg)](https://phpackages.com/packages/umbrellio-php-deploy)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[tehwave/laravel-achievements

Simple, elegant Achievements the Laravel way

7012.8k](/packages/tehwave-laravel-achievements)

PHPackages © 2026

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