PHPackages                             gui/majeur-bundle - 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. gui/majeur-bundle

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

gui/majeur-bundle
=================

Intégration Doctrine de gui/majeur

2.0.231104(2y ago)014.8kPHPPHP &gt;= 5.3.0

Since May 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/outtersg/majeur-bundle)[ Packagist](https://packagist.org/packages/gui/majeur-bundle)[ RSS](/packages/gui-majeur-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

MigrationsFactory pour .sql &amp; .php
--------------------------------------

[](#migrationsfactory-pour-sql--php)

Le MajeurBundle embarque un composant permettant à Doctrine de jouer, en plus des Migrations PHP, celles déposées sous forme de "simples" fichiers SQL (en fait interprétés par [Sqleur](https://github.com/outtersg/sqleur/), donc avec toute une panoplie d'instructions préprocesseur).

### Configuration

[](#configuration)

Dans votre `config/bundles.php`:

```
	[…]
	Gui\MajeurBundle\GuiMajeurBundle::class => [ 'all' => true ],
	[…]
```

Dans votre `config/packages/doctrine_migrations.yaml`:

```
doctrine_migrations:
	[…]
	services:
		'Doctrine\Migrations\Finder\MigrationFinder':   'Gui\MajeurBundle\Migrations\GlobFinder'
		'Doctrine\Migrations\MigrationsRepository':     'Gui\MajeurBundle\Migrations\MigrationsRepository'
		[…]
```

Le moteur SQL sous-jacent est par défaut générique; il est possible de l'enrichir de "définitions" (éléments qui seront remplacés par leur valeur dans le SQL) en invoquant la méthode `MigrationSql.avecDéfs()` depuis votre `MigrationFactory` personnalisée (vous aurez alors ajouté au `doctrine_migrations.yaml` ci-dessus une clé `doctrine_migrations: services: Doctrine\Migrations\Version\MigrationFactory: xxx`) Ex.:

```
if($migration instanceof \Gui\MajeurBundle\Migrations\MigrationSql)
	$migration->avecDéfs([ ':env' => 'prod' ]);
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Recently: every ~377 days

Total

8

Last Release

966d ago

Major Versions

1.0.190917 → 2.0.2306212023-06-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7739e7dbf4940de409198387dae0d4b7e48f510e3f0fca123b6b99adf0b0154?d=identicon)[Guillaume Outters](/maintainers/Guillaume%20Outters)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gui-majeur-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/gui-majeur-bundle/health.svg)](https://phpackages.com/packages/gui-majeur-bundle)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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