PHPackages                             andreo/eventsauce-migration-generator - 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. andreo/eventsauce-migration-generator

AbandonedLibrary

andreo/eventsauce-migration-generator
=====================================

This component generates doctrine migrations per aggregate.

3.2(3y ago)05.5k1MITPHPPHP &gt;=8.2

Since Jan 13Pushed 9mo agoCompare

[ Source](https://github.com/andreo-code/eventsauce-migration-generator)[ Packagist](https://packagist.org/packages/andreo/eventsauce-migration-generator)[ RSS](/packages/andreo-eventsauce-migration-generator/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependencies (9)Versions (8)Used By (1)

eventsauce-migration-generator 3.0
----------------------------------

[](#eventsauce-migration-generator-30)

Command to generate doctrine migrations per aggregate

[About table schema](https://eventsauce.io/docs/message-storage/repository-table-schema/)

### Installation

[](#installation)

```
composer require andreo/eventsauce-migration-generator
```

#### Previous versions doc

[](#previous-versions-doc)

- [2.0](https://github.com/eventsauce-symfony/eventsauce-migration-generator/tree/2.0.2)

### Requirements

[](#requirements)

- PHP &gt;=8.2
- Symfony console ^6.0

### Config doctrine migrations

[](#config-doctrine-migrations)

In the first step, configure the [doctrine migrations](https://www.doctrine-project.org/projects/doctrine-migrations/en/3.3/reference/configuration.html#configuration) package

### Usage

[](#usage)

```
use Andreo\EventSauce\Doctrine\Migration\Command\GenerateDoctrineMigrationForEventSauceCommand;

new GenerateDoctrineMigrationForEventSauceCommand(
    dependencyFactory: $dependencyFactory, // instance of Doctrine\Migrations\DependencyFactory
);
```

### Change table name suffix

[](#change-table-name-suffix)

```
use Andreo\EventSauce\Doctrine\Migration\Command\GenerateDoctrineMigrationForEventSauceCommand;
use Andreo\EventSauce\Doctrine\Migration\Schema\TableNameSuffix;

new GenerateDoctrineMigrationForEventSauceCommand(
    dependencyFactory: $dependencyFactory,
    tableNameSuffix: new TableNameSuffix(event: 'message_store')
);
```

### Generate command

[](#generate-command)

```
andreo:eventsauce:doctrine-migrations:generate
```

#### Command options

[](#command-options)

**prefix table name**

- required
- string

Generate migration with **foo** prefix

```
php bin/console andreo:eventsauce:doctrine-migrations:generate foo
```

**--schema=all**

- optional
- string\[\]
- available values: event, outbox, snapshot, all
- default value: all

Generate migration for given schemas

```
php bin/console andreo:eventsauce:doctrine-migrations:generate foo --schema=event --schema=snapshot
```

**--uuid-type=binary**

- optional
- one of: binary, string
- default value: binary

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance42

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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 ~67 days

Total

7

Last Release

1169d ago

Major Versions

1.0.0 → 2.0.02022-05-22

2.0.2 → 3.02023-02-02

PHP version history (2 changes)1.0.0PHP ^8.1

3.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/7579029e2060a6f1482c88eaf509d00eea8b15062854825c09a9f12fed1f9e95?d=identicon)[andreo](/maintainers/andreo)

---

Top Contributors

[![andreo-code](https://avatars.githubusercontent.com/u/18660333?v=4)](https://github.com/andreo-code "andreo-code (1 commits)")

---

Tags

componentsdoctrine-migrationsEventSauce

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/andreo-eventsauce-migration-generator/health.svg)

```
[![Health](https://phpackages.com/badges/andreo-eventsauce-migration-generator/health.svg)](https://phpackages.com/packages/andreo-eventsauce-migration-generator)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[livewire/flux

The official UI component library for Livewire.

9385.0M85](/packages/livewire-flux)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[neos/flow

Flow Application Framework

862.0M449](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)

PHPackages © 2026

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