PHPackages                             codeblanche/entity - 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. codeblanche/entity

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

codeblanche/entity
==================

All for Entity, and Entity for all

1.5.1(11y ago)11351[5 issues](https://github.com/CodeBlanche/Entity/issues)BSD-3-ClausePHPPHP &gt;=5.3.3

Since May 3Pushed 11y agoCompare

[ Source](https://github.com/CodeBlanche/Entity)[ Packagist](https://packagist.org/packages/codeblanche/entity)[ RSS](/packages/codeblanche-entity/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (18)Used By (0)

Entity v1.0.2
=============

[](#entity-v102)

All for Entity, and Entity for all.

More documentation coming soon.

Example
-------

[](#example)

See `fixtures/*` for other examples. The most complete of these being `MortadellaEntity`.

```
class MyEntity extends \Entity\Entity
{

    /**
     * @var boolean Alias of bool
     */
    public $testBoolean = true;

    /**
     * @var integer Alias of int
     */
    public $testInteger = 12345;

    /**
     * @var string
     */
    public $testString = "test string";

    /**
     * @var mixed
     */
    public $testMixed ;

    /**
     * @var array
     */
    public $testArray = array('1', '2', '3');

    /**
     * @var Entity\Sample\ObjectPropertyEntityMarshal[]
     */
    public $testTypedArray1;

    /**
     * @var array
     */
    public $testTypedArray2;

    /**
     * @var integer[]
     */
    public $testTypedArray4;

}
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Recently: every ~90 days

Total

17

Last Release

4216d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2158243?v=4)[Merten van Gerven](/maintainers/mertenvg)[@mertenvg](https://github.com/mertenvg)

---

Top Contributors

[![mertenvg](https://avatars.githubusercontent.com/u/2158243?v=4)](https://github.com/mertenvg "mertenvg (168 commits)")

---

Tags

phpentityMarshalCodeBlanche

### Embed Badge

![Health badge](/badges/codeblanche-entity/health.svg)

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21623.4k](/packages/imanghafoori-laravel-anypass)[dykyi-roman/awesome-claude-code

Claude Code extension for PHP: audits (architecture, DDD, security, performance, PSR, design patterns, Docker, CI/CD, tests, docs), 3-level code review, automated bug fix, generators (DDD, CQRS, GoF patterns, PSR, tests, documentation, Docker, CI/CD), code explanation, refactoring. 26 commands, 62 agents, 259 skills.

851.2k](/packages/dykyi-roman-awesome-claude-code)

PHPackages © 2026

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