PHPackages                             effenti/propel-real-enum-behavior - 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. effenti/propel-real-enum-behavior

Abandoned → [kodalto/propel-real-enum-behavior](/?search=kodalto%2Fpropel-real-enum-behavior)Propel-behavior[Database &amp; ORM](/categories/database)

effenti/propel-real-enum-behavior
=================================

Propel 2 behavior to manage the ENUM type more closely to what enums should be

1.1.0(7y ago)12563MITPHP

Since Apr 17Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Effenti/propel-real-enum-behavior)[ Packagist](https://packagist.org/packages/effenti/propel-real-enum-behavior)[ RSS](/packages/effenti-propel-real-enum-behavior/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Propel Real Enum Behavior
=========================

[](#propel-real-enum-behavior)

[![Latest Stable Version](https://camo.githubusercontent.com/0acdebdc535930fe2c359217e64b00f98506a4dab88b9809c6f70cecdb63a489/68747470733a2f2f706f7365722e707567782e6f72672f656666656e74692f70726f70656c2d7265616c2d656e756d2d6265686176696f722f762f737461626c65)](https://packagist.org/packages/effenti/propel-real-enum-behavior)[![Total Downloads](https://camo.githubusercontent.com/7178bd01f61b3eaff11b6e22677cdf5b962f0e5aec52ffbb75c75337438a73bd/68747470733a2f2f706f7365722e707567782e6f72672f656666656e74692f70726f70656c2d7265616c2d656e756d2d6265686176696f722f646f776e6c6f616473)](https://packagist.org/packages/effenti/propel-real-enum-behavior)[![License](https://camo.githubusercontent.com/3bbd21002b69c31cf53220fc45af2507d1386da7cfb42bd2e65ec8b846a9de8e/68747470733a2f2f706f7365722e707567782e6f72672f656666656e74692f70726f70656c2d7265616c2d656e756d2d6265686176696f722f6c6963656e7365)](https://packagist.org/packages/effenti/propel-real-enum-behavior)

Requirements
------------

[](#requirements)

This Behavior was developed for **Propel 2**.
It was also only tested for **MySQL** databases, if you wish to test it or adjust it for another database type, feel free to open an issue.

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

[](#installation)

```
composer require effenti/propel-real-enum-behavior
```

#### schema.xml

[](#schemaxml)

Add the behavior either to the root of your database or on the target table.
Here is an example :

```

```

#### Usage

[](#usage)

This behavior does 2 things to make usage of `ENUMS` easier :

- You will now see the ENUM value from the `valueSet` in the database instead of a number.
- Model classes will now have constants to easily access the enum values. Using the example above we could get a value from the value set like this : `MyTable::MY_ENUM_SECOND`

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

2820d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/746148ab221e624950e09cd945849fff0ec38634c2cfcb3f1daf84aeba2d0978?d=identicon)[max-was-here](/maintainers/max-was-here)

![](https://www.gravatar.com/avatar/413e7295b8e23a72dccea9cad85fe57bd4e1c819f3bce1b7bfa85eb4a50285ad?d=identicon)[Effenti](/maintainers/Effenti)

---

Top Contributors

[![max-was-here](https://avatars.githubusercontent.com/u/7432034?v=4)](https://github.com/max-was-here "max-was-here (11 commits)")

### Embed Badge

![Health badge](/badges/effenti-propel-real-enum-behavior/health.svg)

```
[![Health](https://phpackages.com/badges/effenti-propel-real-enum-behavior/health.svg)](https://phpackages.com/packages/effenti-propel-real-enum-behavior)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)

PHPackages © 2026

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