atk4 / core
Agile Core - collection of PHP Traits for designing object-oriented frameworks
Installs: 1 895 650
Dependents: 6
Suggesters: 0
Security: 0
Stars: 19
Watchers: 13
Forks: 14
Open Issues: 3
Requires
- php: >=7.4 <8.4
- benmorel/weakmap-polyfill: ^0.5.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- symfony/polyfill-php80: ^1.28
- symfony/polyfill-php81: ^1.28
- symfony/polyfill-php82: ^1.28
- symfony/polyfill-php83: ^1.28
- symfony/yaml: ^3.4 || ^4.4 || ^5.1 || ^6.0 || ^7.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.13
- ergebnis/phpunit-slow-test-detector: ^2.9
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.11
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-strict-rules: ^1.3
- phpunit/phpunit: ^9.5.5 || ^10.0 || ^11.0
- dev-develop
- 5.2.0
- 5.1.0
- 5.0.0
- 4.0.0
- 3.1.0
- 3.0.0
- 2.4.1
- 2.4.0
- 2.3.5
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- 0.1
- dev-phpstan_v2
- dev-repro_phpstan_wrong_filename_reported
- dev-phpstan_l7
This package is auto-updated.
Last update: 2024-11-11 20:18:03 UTC
README
Collection of PHP Traits for designing object-oriented frameworks.
Agile Core was created for Agile Data and Agile 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
https://atk4-core.readthedocs.io/
Community and Support
Install from Composer
composer require atk4/core
Agile Toolkit
Agile Core is part of Agile Toolkit - PHP UI Framework. If you like this project, you should also look into:
- Agile Data -
- Agile UI -