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

ActiveLibrary

smart-enum/smart-enum
=====================

Enum implementation for PHP 7.1+

1.0.5(3y ago)0169↓57.1%MITPHP &gt;=7.1

Since Jun 6Compare

[ Source](https://github.com/yar3333/smart-enum)[ Packagist](https://packagist.org/packages/smart-enum/smart-enum)[ RSS](/packages/smart-enum-smart-enum/feed)WikiDiscussions Synced today

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/yar3333/smart-enum).

###  Health Score

27

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Recently: every ~257 days

Total

6

Last Release

1455d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62287c6031fadbee2c2b9c588d6f8f843e511bafec08e9cdbe12e0fae5a05de3?d=identicon)[yar3333](/maintainers/yar3333)

---

Tags

enum

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[myclabs/php-enum

PHP Enum implementation

2.7k225.2M600](/packages/myclabs-php-enum)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.6M96](/packages/bensampo-laravel-enum)[dasprid/enum

PHP 7.1 enum implementation

380140.5M9](/packages/dasprid-enum)[spatie/enum

PHP Enums

84328.0M61](/packages/spatie-enum)[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

49340.7M89](/packages/marc-mabe-php-enum)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4756.8M12](/packages/fresh-doctrine-enum-bundle)

PHPackages © 2026

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