PHPackages                             positibe/enum-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. positibe/enum-bundle

ActiveSymfony-bundle

positibe/enum-bundle
====================

Symfony PositibeEnumBundle

2.0.0(8y ago)010MITPHP

Since May 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Positibe/EnumBundle)[ Packagist](https://packagist.org/packages/positibe/enum-bundle)[ Docs](http://positibelabs.blogspot.com/bundles/enum)[ RSS](/packages/positibe-enum-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

PositibeEnumBundle
==================

[](#positibeenumbundle)

This bundle give a simple way to have all enum type in to table.

Introduction
------------

[](#introduction)

When we are working with many classes that only have one field like 'name' or 'code' e.j. gender, category, state, etc. We frequently create a class/table for each one, but in long web site we will have many of this classes so the schema could be huge.

With this bundle you can simple have a relation we Enum class and define the EnumType class for it.

Example
-------

[](#example)

```
#app/config/config.yml
#...
positibe_enum:
    enum_types:
        sex:
            _name: Sexo #Optional name description
            male: Masculino
            female: Femenino
        organism:

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

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

Total

4

Last Release

3021d ago

Major Versions

0.4.0.0 → 2.0.02018-02-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a0a4509b3c113e5160b4f3f7708a1ead7bc99b2b33ebe4c1e3b59c14b6e530d?d=identicon)[pcabreus](/maintainers/pcabreus)

---

Top Contributors

[![pcabreus](https://avatars.githubusercontent.com/u/8780578?v=4)](https://github.com/pcabreus "pcabreus (15 commits)")

---

Tags

enumenumerationpositibelabspositibenomenclator

### Embed Badge

![Health badge](/badges/positibe-enum-bundle/health.svg)

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

###  Alternatives

[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

49444.8M97](/packages/marc-mabe-php-enum)[cerbero/enum

Zero-dependencies package to supercharge enum functionalities.

359207.5k2](/packages/cerbero-enum)[cerbero/laravel-enum

Laravel package to supercharge enum functionalities.

18989.6k](/packages/cerbero-laravel-enum)[emreyarligan/enum-concern

A PHP package for effortless Enumeration handling with Laravel Collections 📦 ✨

21156.3k1](/packages/emreyarligan-enum-concern)[rexlabs/enum

Enumeration (enum) implementation for PHP

48482.2k2](/packages/rexlabs-enum)[greg0ire/enum

work around the missing enum type in php

45390.5k9](/packages/greg0ire-enum)

PHPackages © 2026

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