{"id":22793178,"url":"https://github.com/ngmy/php-observer","last_synced_at":"2025-03-30T17:20:53.251Z","repository":{"id":51514781,"uuid":"349393147","full_name":"ngmy/php-observer","owner":"ngmy","description":"A PHP library to implement the observer pattern","archived":false,"fork":false,"pushed_at":"2021-05-11T13:08:18.000Z","size":81,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T23:37:14.965Z","etag":null,"topics":["design-pattern","event","event-handler","event-listener","library","observer","observer-pattern","php","php-library","publisher","pubsub","subject","subscriber"],"latest_commit_sha":null,"homepage":"","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/ngmy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"ngmy","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://flattr.com/@ngmy"}},"created_at":"2021-03-19T11:02:49.000Z","updated_at":"2021-05-07T08:24:26.000Z","dependencies_parsed_at":"2022-08-23T14:20:14.772Z","dependency_job_id":null,"html_url":"https://github.com/ngmy/php-observer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"ngmy/php-library-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngmy%2Fphp-observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngmy%2Fphp-observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngmy%2Fphp-observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngmy%2Fphp-observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngmy","download_url":"https://codeload.github.com/ngmy/php-observer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246351394,"owners_count":20763293,"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":["design-pattern","event","event-handler","event-listener","library","observer","observer-pattern","php","php-library","publisher","pubsub","subject","subscriber"],"created_at":"2024-12-12T03:18:25.956Z","updated_at":"2025-03-30T17:20:53.230Z","avatar_url":"https://github.com/ngmy.png","language":"PHP","readme":"# PHP Observer\n[![Latest Stable Version](https://poser.pugx.org/ngmy/observer/v)](//packagist.org/packages/ngmy/observer)\n[![Total Downloads](https://poser.pugx.org/ngmy/observer/downloads)](//packagist.org/packages/ngmy/observer)\n[![Latest Unstable Version](https://poser.pugx.org/ngmy/observer/v/unstable)](//packagist.org/packages/ngmy/observer)\n[![License](https://poser.pugx.org/ngmy/observer/license)](//packagist.org/packages/ngmy/observer)\n[![composer.lock](https://poser.pugx.org/ngmy/observer/composerlock)](//packagist.org/packages/ngmy/observer)\n[![PHP CI](https://github.com/ngmy/php-observer/actions/workflows/php.yml/badge.svg)](https://github.com/ngmy/php-observer/actions/workflows/php.yml)\n[![Coverage Status](https://coveralls.io/repos/github/ngmy/php-observer/badge.svg?branch=master)](https://coveralls.io/github/ngmy/php-observer?branch=master)\n[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat)](https://github.com/phpstan/phpstan)\n[![Psalm Coverage](https://shepherd.dev/github/ngmy/php-observer/coverage.svg?)](https://shepherd.dev/github/ngmy/php-observer)\n[![Psalm Level](https://shepherd.dev/github/ngmy/php-observer/level.svg?)](https://shepherd.dev/github/ngmy/php-observer)\n\nPHP Observer is a PHP library to implement the [observer pattern](https://en.wikipedia.org/wiki/Observer_pattern).\n\n- Provides the subject and observer interfaces. This allows you to implement the concrete subject and observer classes\n\n[![class-diagram](http://www.plantuml.com/plantuml/png/hL71hfim4BpxArQ80_I9Gw-qHP7w0Jta2mmimPMnK-yIfQhoxxLb38bxoAMSsDtPcPtnYLWwNXSjs5w1BVIMsIumAeS3Ask4a3snamF3UUr_-YRy4G2DLiHVV_I4xeQkWz9kl-I77v9P3dELniUqRk5crHWm8xx76Cjg-bsbpaC8tq7GE37OAHtKjX4d02RhqBD2LVAigEdsgq3IaqAm4BwZrNJhTPICSR7suuT0CqBG4q8PHZV90M4_Dp1yR3ifc7AOfRdWkDLFHl3NAZLLYxhZw4Lv3ZPzrbO7KuEMHF3Tci4XOsB3E_iBw3NsabWo1ieByfc3UXqgIbK4r7bMENlRfdq1uFkhCx1bHg7xvN3_XeTsdXS2-0PbP3e6wJaFyjpx7gzQhXeND4oGUba0JPvNIV7d_prCTExKPOxMioFRDihywpoLKQxfKjQlrjDrnUS2R1DaF1IAJyLkMUII6rRZ5A2Xo58G9y-_Blel)](http://www.plantuml.com/plantuml/uml/hL71hfim4BpxArQ80_I9Gw-qHP7w0Jta2mmimPMnK-yIfQhoxxLb38bxoAMSsDtPcPtnYLWwNXSjs5w1BVIMsIumAeS3Ask4a3snamF3UUr_-YRy4G2DLiHVV_I4xeQkWz9kl-I77v9P3dELniUqRk5crHWm8xx76Cjg-bsbpaC8tq7GE37OAHtKjX4d02RhqBD2LVAigEdsgq3IaqAm4BwZrNJhTPICSR7suuT0CqBG4q8PHZV90M4_Dp1yR3ifc7AOfRdWkDLFHl3NAZLLYxhZw4Lv3ZPzrbO7KuEMHF3Tci4XOsB3E_iBw3NsabWo1ieByfc3UXqgIbK4r7bMENlRfdq1uFkhCx1bHg7xvN3_XeTsdXS2-0PbP3e6wJaFyjpx7gzQhXeND4oGUba0JPvNIV7d_prCTExKPOxMioFRDihywpoLKQxfKjQlrjDrnUS2R1DaF1IAJyLkMUII6rRZ5A2Xo58G9y-_Blel)\n\n## Requirements\nPHP Observer has the following requirements:\n\n* PHP \u003e= 7.3\n\n## Installation\nExecute the Composer `require` command:\n```console\ncomposer require ngmy/observer\n```\n\n## Documentation\nPlease see the [API documentation](https://ngmy.github.io/php-observer/api/).\n\n## License\nPHP Observer is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).\n","funding_links":["https://github.com/sponsors/ngmy","https://flattr.com/@ngmy"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngmy%2Fphp-observer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngmy%2Fphp-observer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngmy%2Fphp-observer/lists"}