PHPackages                             giginc/property-enum - 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. [Framework](/categories/framework)
4. /
5. giginc/property-enum

ActiveCakephp-plugin[Framework](/categories/framework)

giginc/property-enum
====================

Property based enum plugin for CakePHP 3

v1.4.0(6y ago)011.5k↓50%MITPHPPHP &gt;=5.4.16

Since Apr 5Pushed 6y ago4 watchersCompare

[ Source](https://github.com/giginc/property-enum)[ Packagist](https://packagist.org/packages/giginc/property-enum)[ Docs](https://github.com/giginc/property-enum)[ RSS](/packages/giginc-property-enum/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

Property based enum plugin for CakePHP 3 [![Travis](https://camo.githubusercontent.com/2a583fce6dd5d09af22f481dbcc9df61068309b38b7872b47897f13f6b9b9881/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b314c6f572f70726f70657274792d656e756d2e737667)](https://travis-ci.org/k1LoW/property-enum)
===============================================================================================================================================================================================================================================================================================================

[](#property-based-enum-plugin-for-cakephp-3-)

This plugin is PropertyStrategy of [CakeDC/Enum](https://github.com/CakeDC/Enum)

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require k1low/property-enum

```

Property Example
----------------

[](#property-example)

```
class ArticlesTable extends Table
{
    public $enums = [
        'status' => [
            'public' = 'Published';
            'draft' = 'Drafted';
            'archive' = 'Archived';
        ],
    ];

    public function initialize(array $config)
    {
        $this->addBehavior('PropertyEnum.Enum', ['lists' => [
            'status' => [
                'strategy' => 'property',
            ]
        ]]);
    }
}
```

for CakePHP 2
-------------

[](#for-cakephp-2)

see

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~294 days

Total

5

Last Release

2517d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6e6faaa4785c7f5812464198b2503a25975f08e8c5a6239c33dc023dd272ab0?d=identicon)[issys16](/maintainers/issys16)

![](https://avatars.githubusercontent.com/u/3604122?v=4)[kgw](/maintainers/kgw)[@KGW](https://github.com/KGW)

---

Top Contributors

[![k1LoW](https://avatars.githubusercontent.com/u/57114?v=4)](https://github.com/k1LoW "k1LoW (9 commits)")[![slywalker](https://avatars.githubusercontent.com/u/54266?v=4)](https://github.com/slywalker "slywalker (2 commits)")

---

Tags

enumcakephp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/giginc-property-enum/health.svg)

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

###  Alternatives

[cakephp/debug_kit

CakePHP Debug Kit

86514.0M138](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11211.2M158](/packages/cakephp-bake)[friendsofcake/bootstrap-ui

Bootstrap front-end framework support for CakePHP

3492.1M32](/packages/friendsofcake-bootstrap-ui)[cakephp/localized

CakePHP Localized Plugin

218595.6k5](/packages/cakephp-localized)[cakephp/acl

Acl Plugin for CakePHP framework

109553.9k15](/packages/cakephp-acl)[cakephp/elastic-search

An Elastic Search datasource and data mapper for CakePHP

86766.6k8](/packages/cakephp-elastic-search)

PHPackages © 2026

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