PHPackages                             invenso/doctrine-cleanup-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. invenso/doctrine-cleanup-migrations

ActiveLibrary

invenso/doctrine-cleanup-migrations
===================================

Invenso DoctrineCleanupMigrations Bundle

1.0.0(2y ago)02.1k↑150%proprietaryPHPPHP ^7.1 | ^8.0

Since Jan 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/InvensoGroup/doctrine-cleanup-migrations)[ Packagist](https://packagist.org/packages/invenso/doctrine-cleanup-migrations)[ Docs](https://www.invenso.nl)[ RSS](/packages/invenso-doctrine-cleanup-migrations/feed)WikiDiscussions master Synced 1mo ago

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

Invenso DoctrineCleanupMigrations
=================================

[](#invenso-doctrinecleanupmigrations)

Getting started
---------------

[](#getting-started)

This package is used to clean up your migrations locally by compressing it to one file and deleting all references but the two newly created ones.

### Installation

[](#installation)

To install this package run:

```
composer require invenso/doctrine-cleanup-migrations
```

### Usage

[](#usage)

After installation run:

```
php bin/console invenso:cleanup:migrations
```

and follow the logging closely.

### Pending migration check

[](#pending-migration-check)

Before deleting everything the cleanup script will check if there are still migrations pending. If that's the case you need to make sure those will be either applied or discarded before being able to proceed.

Run:

```
php bin/console doctrine:migrations:status
```

To see more information about the pending versions.

### After cleanup migration

[](#after-cleanup-migration)

After the cleanup you'll get the option to migrate your newly cleaned migrations. The default option is "N" but if you fill out "Y" you'll have to confirm this 2-3 more times.

You can also choose to run the migrations manually:

```
php bin/console doctrine:migrations:migrate
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

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

852d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f3d465d35a13bfe5c8e0daf5064a540404d815e9cd20e198b629343fb86ccb9?d=identicon)[InvensoGroup](/maintainers/InvensoGroup)

---

Top Contributors

[![rickvorstenbosch](https://avatars.githubusercontent.com/u/156191849?v=4)](https://github.com/rickvorstenbosch "rickvorstenbosch (4 commits)")[![InvensoGroup](https://avatars.githubusercontent.com/u/101555116?v=4)](https://github.com/InvensoGroup "InvensoGroup (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/invenso-doctrine-cleanup-migrations/health.svg)

```
[![Health](https://phpackages.com/badges/invenso-doctrine-cleanup-migrations/health.svg)](https://phpackages.com/packages/invenso-doctrine-cleanup-migrations)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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