atk4/core
Agile Core is a set of reusable PHP traits for building object-oriented frameworks. Provides containers (parent/child), hooks with priorities, automatic init, dynamic methods, factory by class string, app scope injection, and improved exceptions.
Hooks to decouple components (e.g., payment processing, notifications) without tight coupling.DiContainerTrait for testability and maintainability.Adopt if:
Initializers, Hooks with priorities).Look elsewhere if:
Illuminate\Support\Traits).For Executives: "Atk4/Core lets us build modular PHP systems faster by reusing pre-built object patterns—like Lego blocks for code. Instead of reinventing dependency injection, hooks, or dynamic behavior, we plug in traits to accelerate development of internal tools, APIs, or even custom frameworks. It’s MIT-licensed, PHP 8.4-ready, and used by the Agile Toolkit team to power their UI/ORM stack. This reduces technical debt while keeping us flexible to pivot without vendor lock-in."
For Engineers: *"This is a Swiss Army knife for OOP in PHP:
on('user.created', fn($user) => ...)).User::addMethod('exportCSV', ...)).setDefault() and assertInstanceOf().composer require atk4/core and replace manual spl_object_hash() or event listeners with traits."How can I help you explore Laravel packages today?