PHPackages                             x-systems/phlex-core - 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. x-systems/phlex-core

ActiveLibrary[Framework](/categories/framework)

x-systems/phlex-core
====================

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

3.0.x-dev(1y ago)018.4k1MITPHPPHP &gt;=7.4 &lt;8.4

Since Sep 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/x-systems/phlex-core)[ Packagist](https://packagist.org/packages/x-systems/phlex-core)[ Docs](https://github.com/x-systems/phlex-core)[ RSS](/packages/x-systems-phlex-core/feed)WikiDiscussions 3.0.x Synced 5d ago

READMEChangelogDependencies (16)Versions (1)Used By (1)

Agile Core
==========

[](#agile-core)

**Collection of PHP Traits for designing object-oriented frameworks.**

[![Build](https://github.com/atk4/core/actions/workflows/test-unit.yml/badge.svg?branch=develop)](https://github.com/atk4/core/actions?query=branch:develop)[![CodeCov](https://camo.githubusercontent.com/a0d638d1815015650cebbaba631e5df7e2fa6a2546de61aeff1a5b62526c99b0/68747470733a2f2f636f6465636f762e696f2f67682f61746b342f636f72652f6272616e63682f646576656c6f702f67726170682f62616467652e737667)](https://codecov.io/gh/atk4/core)[![GitHub release](https://camo.githubusercontent.com/61b00eaaae379e7c633bb7f68146525652d2d25d471ae275452c85e34549cacc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f61746b342f636f72652e737667)](https://github.com/atk4/core/releases)[![Code Climate](https://camo.githubusercontent.com/d29cea098535febf3ac161656bbfccec78ed2c054e845be8aa791cd097ac3381/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f61746b342f636f72652f6261646765732f6770612e737667)](https://codeclimate.com/github/atk4/core)

Agile Core was created for [Agile Data](https://github.com/atk4/data) and [Agile UI](https://github.com/atk4/ui), but can be used in any other framework too. You will mostly find PHP Traits here, that add functionality into your objects such as:

- Containers: Implements Parent/Child relations between your objects
- Hooks: Create hooks and register callbacks with priorities and arguments
- Initializers: Automatically execute init() method of your object
- Dynamic Methods: Add methods dynamically into existing objects
- Factory: Specify class name as a string
- App Scope: Inject global "app" object and pass it to new objects

Additionally you a much better 'Exception' class for general-purpose exceptions.

Documentation
-------------

[](#documentation)

Community and Support
---------------------

[](#community-and-support)

[![Stack Overflow Community](https://camo.githubusercontent.com/385d1f827e1f6c65ed270301047791bb9c0933da3e8e1bdce44610c9948b89b1/68747470733a2f2f696d672e736869656c64732e696f2f737461636b65786368616e67652f737461636b6f766572666c6f772f742f61746b342e737667)](https://stackoverflow.com/questions/ask?tags=atk4)[![Discord Community](https://camo.githubusercontent.com/453bb23813fc43b944b90e4ac2eb876b47ff6dc842f29fbbf97476d6b83dd7c3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d557365725f466f72756d2d677265656e2e737667)](https://discord.gg/QVKSk2B)

Install from Composer
---------------------

[](#install-from-composer)

```
composer require atk4/core

```

Agile Toolkit
-------------

[](#agile-toolkit)

Agile Core is part of [Agile Toolkit - PHP UI Framework](https://atk4.org/). If you like this project, you should also look into:

- [Agile Data](https://github.com/atk4/data) - [![GitHub release](https://camo.githubusercontent.com/27b0b358ab47e451c7eac56b5edcc2ab9e22b9c6e043ffaa48914ce0b3392d11/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f61746b342f646174612e7376673f6c6162656c3d4167696c652b44617461)](https://github.com/atk4/data/releases)
- [Agile UI](https://github.com/atk4/ui) - [![GitHub release](https://camo.githubusercontent.com/70be9281baffa0d5a9ac9371ee10ca18ef63b4f8c312ac8a6311d7616583322a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f61746b342f75692e7376673f6c6162656c3d4167696c652b5549)](https://github.com/atk4/ui/releases)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

603d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d9eeeb71a33ce36192738f3bf39226048c81f1b1b6d641172fa267c30dd8bc6?d=identicon)[ghristov](/maintainers/ghristov)

---

Top Contributors

[![georgehristov](https://avatars.githubusercontent.com/u/8128250?v=4)](https://github.com/georgehristov "georgehristov (27 commits)")

---

Tags

phpframeworktraitsphlex

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/x-systems-phlex-core/health.svg)

```
[![Health](https://phpackages.com/badges/x-systems-phlex-core/health.svg)](https://phpackages.com/packages/x-systems-phlex-core)
```

###  Alternatives

[atk4/core

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

192.3M5](/packages/atk4-core)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)

PHPackages © 2026

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