PHPackages                             atk4/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. atk4/core

ActiveLibrary[Framework](/categories/framework)

atk4/core
=========

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

6.0.0(1y ago)192.3M↓29.2%14[2 issues](https://github.com/atk4/core/issues)5MITPHPPHP &gt;=7.4 &lt;8.5CI passing

Since May 11Pushed 2mo ago11 watchersCompare

[ Source](https://github.com/atk4/core)[ Packagist](https://packagist.org/packages/atk4/core)[ Docs](https://github.com/atk4/core)[ RSS](/packages/atk4-core/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (16)Versions (55)Used By (5)

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)[![Coverage](https://camo.githubusercontent.com/a0d638d1815015650cebbaba631e5df7e2fa6a2546de61aeff1a5b62526c99b0/68747470733a2f2f636f6465636f762e696f2f67682f61746b342f636f72652f6272616e63682f646576656c6f702f67726170682f62616467652e737667)](https://codecov.io/gh/atk4/core)[![Release](https://camo.githubusercontent.com/61b00eaaae379e7c633bb7f68146525652d2d25d471ae275452c85e34549cacc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f61746b342f636f72652e737667)](https://github.com/atk4/core/releases)[![Downloads](https://camo.githubusercontent.com/e728697aa18c1e46c899e27a2f0df3a44c789a49233641612a71c0871032c5b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61746b342f636f72652e737667)](https://github.com/atk4/core/releases)

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

65

—

FairBetter than 99% of packages

Maintenance68

Regular maintenance activity

Popularity51

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity94

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~219 days

Total

52

Last Release

391d ago

Major Versions

1.3.11 → 2.0.02019-12-01

2.4.1 → 3.0.02021-05-11

3.1.0 → 4.0.02022-11-26

4.0.0 → 5.0.02023-10-01

5.2.0 → 6.0.02025-04-22

PHP version history (9 changes)0.1PHP &gt;=5.5.0

1.3.10PHP &gt;=5.6.0

2.0.0PHP &gt;=7.2.0

2.2.0PHP &gt;=7.3.0

3.0.0PHP &gt;=7.4.0

3.1.0PHP &gt;=7.4 &lt;8.2

4.0.0PHP &gt;=7.4 &lt;8.3

5.0.0PHP &gt;=7.4 &lt;8.4

6.0.0PHP &gt;=7.4 &lt;8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/426ad318d07e7685454f7e449a9d0c9f005b83aef0777558d97d854ff9c28a5a?d=identicon)[romaninsh](/maintainers/romaninsh)

---

Top Contributors

[![romaninsh](https://avatars.githubusercontent.com/u/453929?v=4)](https://github.com/romaninsh "romaninsh (364 commits)")[![mvorisek](https://avatars.githubusercontent.com/u/2228672?v=4)](https://github.com/mvorisek "mvorisek (260 commits)")[![DarkSide666](https://avatars.githubusercontent.com/u/1969119?v=4)](https://github.com/DarkSide666 "DarkSide666 (116 commits)")[![abbadon1334](https://avatars.githubusercontent.com/u/5801824?v=4)](https://github.com/abbadon1334 "abbadon1334 (114 commits)")[![georgehristov](https://avatars.githubusercontent.com/u/8128250?v=4)](https://github.com/georgehristov "georgehristov (4 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")[![bepixeld](https://avatars.githubusercontent.com/u/7001544?v=4)](https://github.com/bepixeld "bepixeld (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")[![gowrav-vishwakarma](https://avatars.githubusercontent.com/u/1007955?v=4)](https://github.com/gowrav-vishwakarma "gowrav-vishwakarma (1 commits)")[![Jmos](https://avatars.githubusercontent.com/u/5389792?v=4)](https://github.com/Jmos "Jmos (1 commits)")

---

Tags

agileatk4corephptraitsphpframeworktraitsAgile Toolkit

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/atk4-core/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[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)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)

PHPackages © 2026

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