thenlabs/components
Composer 安装命令:
composer require thenlabs/components
包简介
A custom implementation of the Composite pattern in PHP for create component types with useful functionalities.
README 文档
README
A custom implementation of the Composite pattern in PHP for create component types with useful functionalities.
If you like this project gift us a ⭐.
Features.
- PHP >= 7.2
- Two component types(simple and composite).
- Tree structure.
- Dependency management.
- Useful methods for filter and iterate over the tree.
- Events dispatching.
- Event propagation(capture and bubbling) across the tree.
- Support of custom data.
Installation.
$ composer require thenlabs/components
Documentation.
- English (Pending)
- Español
Development.
Clone this repository and install the Composer dependencies.
$ composer install
Running the tests.
All the tests of this project was written with our testing framework PyramidalTests wich is based on PHPUnit.
Run tests:
$ composer test
统计信息
- 总下载量: 482
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-07