PHPackages                             phalcon/traits - 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. [Framework](/categories/framework)
4. /
5. phalcon/traits

ActiveLibrary[Framework](/categories/framework)

phalcon/traits
==============

Phalcon Framework Traits

3.0.0(1y ago)653.0k↓30.6%41MITPHPPHP &gt;=8.1 &lt;9.0CI passing

Since Oct 28Pushed 1y ago4 watchersCompare

[ Source](https://github.com/phalcon/traits)[ Packagist](https://packagist.org/packages/phalcon/traits)[ GitHub Sponsors](https://github.com/phalcon)[ Fund](https://opencollective.com/phalcon)[ RSS](/packages/phalcon-traits/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (13)Used By (1)

Phalcon Traits
--------------

[](#phalcon-traits)

[![Phalcon CI](https://github.com/phalcon/traits/actions/workflows/main.yml/badge.svg?branch=1.x)](https://github.com/phalcon/traits/actions/workflows/main.yml)[![PDS Skeleton](https://camo.githubusercontent.com/50d01a5094afcc3a827c3cadaec43d23b2a256cb249f5fdd6e5ffdb53ea7971c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-pds/skeleton)[![Quality Gate Status](https://camo.githubusercontent.com/1e887e2a5933ff7d04bebf66cbe87051f14ef9fb327e48cec413cad6723bbaf2/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7068616c636f6e5f747261697473266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/summary/new_code?id=phalcon_traits)[![Coverage](https://camo.githubusercontent.com/26160484bd13c54955c2faafef2a45841c3dc29d37c738d3e8e7839fc0a5a36b/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7068616c636f6e5f747261697473266d65747269633d636f766572616765)](https://sonarcloud.io/summary/new_code?id=phalcon_traits)

This package contains traits with methods that are used for Phalcon v6 onward.

It can also be useful to others that want short snippets of code that perform a task, without having to reinvent the wheel.

Some of these methods are just wrappers to PHP functions, thus allowing developers to mock the method in order to get different results and cover paths of the application with relevant tests.

[Documentation](docs/general.md)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance42

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 97.8% 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 ~120 days

Recently: every ~192 days

Total

11

Last Release

461d ago

Major Versions

1.3.0 → 2.0.02023-01-02

2.0.4 → 3.0.02025-02-11

PHP version history (3 changes)1.0.0PHP &gt;=7.4 &lt;9.0

2.0.0PHP &gt;=8.0 &lt;9.0

3.0.0PHP &gt;=8.1 &lt;9.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/826683026897842e5e89553da75daf5f8b4d0fe030761c876e2c8e2029942f8e?d=identicon)[phalcon](/maintainers/phalcon)

---

Top Contributors

[![niden](https://avatars.githubusercontent.com/u/1073784?v=4)](https://github.com/niden "niden (175 commits)")[![borisdelev](https://avatars.githubusercontent.com/u/4441663?v=4)](https://github.com/borisdelev "borisdelev (3 commits)")[![Jeckerson](https://avatars.githubusercontent.com/u/3289702?v=4)](https://github.com/Jeckerson "Jeckerson (1 commits)")

---

Tags

hacktoberfestphalconphalcon-frameworktraitsphpframeworktraits

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[atk4/core

Agile Core - collection of PHP Traits for designing object-oriented frameworks

192.3M5](/packages/atk4-core)

PHPackages © 2026

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