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

ActivePropel-behavior

kodalto/propel-real-enum-behavior
=================================

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

2.0.0(2y ago)1281MITPHPPHP &gt;=7.4

Since Apr 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Kodalto/propel-real-enum-behavior)[ Packagist](https://packagist.org/packages/kodalto/propel-real-enum-behavior)[ RSS](/packages/kodalto-propel-real-enum-behavior/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

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

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

[![Latest Stable Version](https://camo.githubusercontent.com/fb44217677f784dd5a0233523b863eb871e2a99ad117e97491f61cb3c4cc02e2/68747470733a2f2f706f7365722e707567782e6f72672f4b6f64616c746f2f70726f70656c2d7265616c2d656e756d2d6265686176696f722f762f737461626c65)](https://packagist.org/packages/Kodalto/propel-real-enum-behavior)[![Total Downloads](https://camo.githubusercontent.com/69d86d92d93627ca89543704c2378558955c9aa5e86500fb5a166fce32da1ba6/68747470733a2f2f706f7365722e707567782e6f72672f4b6f64616c746f2f70726f70656c2d7265616c2d656e756d2d6265686176696f722f646f776e6c6f616473)](https://packagist.org/packages/Kodalto/propel-real-enum-behavior)[![License](https://camo.githubusercontent.com/5c72b39f04cad13714b8d174c6377c3f2e3a309ce7b623544ba43bcb39b4a815/68747470733a2f2f706f7365722e707567782e6f72672f4b6f64616c746f2f70726f70656c2d7265616c2d656e756d2d6265686176696f722f6c6963656e7365)](https://packagist.org/packages/Kodalto/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 Kodalto/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

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

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

Total

4

Last Release

1094d ago

Major Versions

1.1.0 → 2.0.02023-05-12

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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