PHPackages                             fardus/traits-symfony - 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. fardus/traits-symfony

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

fardus/traits-symfony
=====================

classes traits for symfony

1.3.2(4y ago)25.7k↓33.3%MITPHPPHP &gt;=8.0

Since Jan 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/fardus/traits-symfony)[ Packagist](https://packagist.org/packages/fardus/traits-symfony)[ Docs](https://github.com/fardus/traits-symfony)[ RSS](/packages/fardus-traits-symfony/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (21)Used By (0)

traits-symfony
==============

[](#traits-symfony)

classes Traits for symfony

```
    composer require traits-symfony

```

List of trait

### Trait for Entity

[](#trait-for-entity)

- NameEntity
- CommentEntity
- DescriptionEntity
- AddressEntityTrait
- CityEntityTrait
- ZipEntity

### Symfony Service Trait

[](#symfony-service-trait)

- EntityManagerTrait
- LoggerTrait
- SerializerTrait
- SessionTrait
- TranslatorTrait

### Symfony Security Trait

[](#symfony-security-trait)

- NeedLogin (test function simulate login)

example use on classes

```
# symonny entity
class Person {
    use \Fardus\Traits\Symfony\Entity\NameEntity;
    use \Fardus\Traits\Symfony\Entity\FirstnameEntity;
    use \Fardus\Traits\Symfony\Entity\AddressEntityTrait;
    use \Fardus\Traits\Symfony\Entity\CityEntityTrait;
    use \Fardus\Traits\Symfony\Entity\ZipEntity;
    use \Fardus\Traits\Symfony\Entity\EnableEntity;
}

# symfony services
use Fardus\Traits\Symfony\Manager\LoggerTrait;

class AbstractClient
{
    use LoggerTrait;

    #...
}
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity70

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

Recently: every ~92 days

Total

18

Last Release

1813d ago

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

1.0.1PHP &gt;=7.1

1.3.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee2589630792441147c41706281e33c5fd17234e8181c8911e12599f2a794b59?d=identicon)[fardus](/maintainers/fardus)

---

Top Contributors

[![fardus](https://avatars.githubusercontent.com/u/2770842?v=4)](https://github.com/fardus "fardus (60 commits)")

---

Tags

symfonymanagerentitytoolsclassestraits

### Embed Badge

![Health badge](/badges/fardus-traits-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/fardus-traits-symfony/health.svg)](https://phpackages.com/packages/fardus-traits-symfony)
```

###  Alternatives

[shapecode/hidden-entity-type-bundle

Hidden field for Symfony entities

28428.6k1](/packages/shapecode-hidden-entity-type-bundle)[bluepsyduck/symfony-process-manager

A process manager for Symfony processes, able to run them in parallel.

10784.6k3](/packages/bluepsyduck-symfony-process-manager)

PHPackages © 2026

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