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

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

mabetiz/entity-fragment
=======================

Reusable traits for Symfony Entities

v1.0.0-beta(8y ago)14WTFPLPHPPHP ^7.1

Since Apr 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/MaBeTiZ/EntityFragment)[ Packagist](https://packagist.org/packages/mabetiz/entity-fragment)[ RSS](/packages/mabetiz-entity-fragment/feed)WikiDiscussions master Synced 2w ago

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

EntityFragment
==============

[](#entityfragment)

Provides reusable features as Traits for Entities in Symfony 4.

Uses Doctrine.

List of available fragments (Traits)
------------------------------------

[](#list-of-available-fragments-traits)

- CreatedAtUpdatedAtTrait
    - \\DateTime $createdAt (on create)
    - \\DateTime $updatedAt (on update)
- StateTrait
    - int $state - A static array $availableStates has to be defined in the parent Entity (please, do NOT use the 0 key value)
- StatusTrait
    - bool $status (on/off)

ToDo List of fragments
----------------------

[](#todo-list-of-fragments)

- User (login/pwd)
- People (gender, title, name, firstname, birthdate)
- ContactInfo (phone, mobilephone, email)
- Address (address1, address2, city, zipcode)
- Geolocation (latt, long, alt)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

2983d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12727808?v=4)[Thibault Pelloquin](/maintainers/ThibaultPelloquin)[@ThibaultPelloquin](https://github.com/ThibaultPelloquin)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[akeneo/pim-community-dev

Akeneo PIM, the future of catalog management is open!

1.0k624.1k86](/packages/akeneo-pim-community-dev)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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