{"id":13411410,"url":"https://github.com/thenlabs/components","last_synced_at":"2026-01-11T15:53:28.582Z","repository":{"id":57068352,"uuid":"238956392","full_name":"thenlabs/components","owner":"thenlabs","description":"A custom implementation of the Composite pattern in PHP for create component types with useful functionalities.","archived":false,"fork":false,"pushed_at":"2022-11-27T20:55:51.000Z","size":301,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"1.1","last_synced_at":"2024-09-26T08:56:58.378Z","etag":null,"topics":["component-architecture","component-based","component-library","components","components-library","composite","composite-pattern","php","php-library"],"latest_commit_sha":null,"homepage":"https://github.com/thenlabs/doc/blob/master/components/1.0/en/index.md","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thenlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-07T15:24:26.000Z","updated_at":"2022-11-27T20:55:20.000Z","dependencies_parsed_at":"2023-01-22T01:47:08.437Z","dependency_job_id":null,"html_url":"https://github.com/thenlabs/components","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenlabs%2Fcomponents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenlabs%2Fcomponents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenlabs%2Fcomponents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenlabs%2Fcomponents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenlabs","download_url":"https://codeload.github.com/thenlabs/components/tar.gz/refs/heads/1.1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243618604,"owners_count":20320265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component-architecture","component-based","component-library","components","components-library","composite","composite-pattern","php","php-library"],"created_at":"2024-07-30T20:01:13.475Z","updated_at":"2026-01-11T15:53:28.575Z","avatar_url":"https://github.com/thenlabs.png","language":"PHP","readme":"# Components\n\nA custom implementation of the Composite pattern in PHP for create component types with useful functionalities.\n\n\u003eIf you like this project gift us a ⭐.\n\n## Features.\n\n- PHP \u003e= 7.2\n- Two component types(simple and composite).\n- Tree structure.\n- Dependency management.\n- Useful methods for filter and iterate over the tree.\n- Events dispatching.\n- Event propagation(capture and bubbling) across the tree.\n- Support of custom data.\n\n## Installation.\n\n    $ composer require thenlabs/components\n\n## Documentation.\n\n1. English (Pending)\n2. [Español](https://github.com/thenlabs/doc/blob/master/components/1.0/en/index.md)\n\n## Development.\n\nClone this repository and install the Composer dependencies.\n\n    $ composer install\n\n### Running the tests.\n\nAll the tests of this project was written with our testing framework [PyramidalTests][pyramidal-tests] wich is based on [PHPUnit][phpunit].\n\nRun tests:\n\n    $ composer test\n\n[phpunit]: https://phpunit.de\n[pyramidal-tests]: https://github.com/thenlabs/pyramidal-tests\n","funding_links":[],"categories":["Web Development"],"sub_categories":["PHP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenlabs%2Fcomponents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenlabs%2Fcomponents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenlabs%2Fcomponents/lists"}