Collection of PHP Traits for designing object-oriented frameworks.
- 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.
Community and Support
Install from Composer
composer require atk4/core
Agile Core is part of Agile Toolkit - PHP UI Framework. If you like this project, you should also look into: