PHPackages                             sofyco/types - 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. sofyco/types

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

sofyco/types
============

Common enums and models

1.1.1(1w ago)0161↓50%MITPHPPHP ^8.5CI passing

Since Apr 20Pushed 1w agoCompare

[ Source](https://github.com/sofyco/types)[ Packagist](https://packagist.org/packages/sofyco/types)[ Docs](https://github.com/sofyco/types)[ GitHub Sponsors](https://github.com/sofyco)[ RSS](/packages/sofyco-types/feed)WikiDiscussions main Synced 1w ago

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

Common enums and models
=======================

[](#common-enums-and-models)

[![CI](https://github.com/sofyco/types/actions/workflows/ci.yaml/badge.svg)](https://github.com/sofyco/types/actions/workflows/ci.yaml)[![codecov](https://camo.githubusercontent.com/b60212b3bdae2f2d0e7ca80c37debe1a3f440ea4228b8c83f2a9ac6ab50f0262/68747470733a2f2f636f6465636f762e696f2f67682f736f6679636f2f74797065732f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/sofyco/types)[![stable](https://camo.githubusercontent.com/fa5d0532c6ba0761311867b24636c83e7f661d9caf93e74715dd7adff2ecaf7e/687474703a2f2f706f7365722e707567782e6f72672f736f6679636f2f74797065732f76)](https://packagist.org/packages/sofyco/types)

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

[](#installation)

```
composer req sofyco/types
```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance98

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Total

3

Last Release

12d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/86305132?v=4)[Sofy](/maintainers/sofyco)[@sofyco](https://github.com/sofyco)

---

Top Contributors

[![khaperets](https://avatars.githubusercontent.com/u/2507262?v=4)](https://github.com/khaperets "khaperets (5 commits)")

---

Tags

phpenummodel

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sofyco-types/health.svg)

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

###  Alternatives

[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2518.6k](/packages/iteks-laravel-enum)[ducks-project/spl-types

Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string

1032.9k](/packages/ducks-project-spl-types)

PHPackages © 2026

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