PHPackages                             granam/scalar-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. granam/scalar-enum

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

granam/scalar-enum
==================

Enumeration with scalar values

1.2.0(5y ago)07597MITPHP &gt;=7.3

Since Feb 13Compare

[ Source](https://github.com/granam/scalar-enum)[ Packagist](https://packagist.org/packages/granam/scalar-enum)[ RSS](/packages/granam-scalar-enum/feed)WikiDiscussions Synced 3d ago

READMEChangelogDependencies (6)Versions (8)Used By (7)

### README not available

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

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

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

Recently: every ~192 days

Total

7

Last Release

1877d ago

PHP version history (2 changes)1.0.1PHP &gt;=7.1

1.2.0PHP &gt;=7.3

### Community

Maintainers

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

---

Top Contributors

[![jaroslavtyc](https://avatars.githubusercontent.com/u/2290225?v=4)](https://github.com/jaroslavtyc "jaroslavtyc (7 commits)")

---

Tags

enumscalar

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[myclabs/php-enum

PHP Enum implementation

2.7k227.9M637](/packages/myclabs-php-enum)[dasprid/enum

PHP 7.1 enum implementation

379146.0M11](/packages/dasprid-enum)[spatie/enum

PHP Enums

84429.1M68](/packages/spatie-enum)[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

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

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[consistence/consistence

Consistence - consistent approach and additions to PHP's functionality

1831.1M18](/packages/consistence-consistence)

PHPackages © 2026

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