x-systems/phlex-core

Phlex Core - collection of PHP Traits for designing object-oriented frameworks
18,452
Install
composer require x-systems/phlex-core
PHP:>=7.4 <8.4
License:MIT
Last Updated:Sep 21, 2024
Links: GitHub  ·  Packagist
Maintainer: ghristov

Agile Core

Collection of PHP Traits for designing object-oriented frameworks.

Build CodeCov GitHub release Code Climate

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

Stack Overflow Community Discord Community

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:

Related Packages

quadraecom/pest-plugin-selectors

Add CSS selector-based testing capabilities to Pest

2,035 1
kompo/kompo

Laravel & Vue.js FullStack Components for Rapid Application Development

16,379 120
pestphp/pest

The elegant PHP Testing Framework.

91,782,508 11,734
nekofar/pest-plugin-mock-client

Pest Plugin for Mock HTTP client

22 1