{"id":15046397,"url":"https://github.com/carlosocarvalho/php-event","last_synced_at":"2026-02-19T12:02:19.083Z","repository":{"id":62499727,"uuid":"90458612","full_name":"carlosocarvalho/php-event","owner":"carlosocarvalho","description":"php package for events observable - https://carlosocarvalho.github.io/php-event","archived":false,"fork":false,"pushed_at":"2017-05-06T13:17:45.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-17T04:34:09.088Z","etag":null,"topics":["codeigniter","codeigniter3","events","laravel","observable","observer","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carlosocarvalho.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-06T11:36:43.000Z","updated_at":"2020-03-02T18:08:48.000Z","dependencies_parsed_at":"2022-11-02T09:46:05.894Z","dependency_job_id":null,"html_url":"https://github.com/carlosocarvalho/php-event","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/carlosocarvalho/php-event","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosocarvalho%2Fphp-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosocarvalho%2Fphp-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosocarvalho%2Fphp-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosocarvalho%2Fphp-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlosocarvalho","download_url":"https://codeload.github.com/carlosocarvalho/php-event/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosocarvalho%2Fphp-event/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29612509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["codeigniter","codeigniter3","events","laravel","observable","observer","php"],"created_at":"2024-09-24T20:53:04.065Z","updated_at":"2026-02-19T12:02:19.064Z","avatar_url":"https://github.com/carlosocarvalho.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Events fire\nIs simple observable events for php\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/46d2a96bb25c48c6bca68629b9544174)](https://www.codacy.com/app/carlosocarvalho-git/php-event?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=carlosocarvalho/php-event\u0026amp;utm_campaign=Badge_Grade) [![Latest Stable Version](https://poser.pugx.org/carlosocarvalho/event/v/stable)](https://packagist.org/packages/carlosocarvalho/event) [![Total Downloads](https://poser.pugx.org/carlosocarvalho/event/downloads)](https://packagist.org/packages/carlosocarvalho/event) [![Latest Unstable Version](https://poser.pugx.org/carlosocarvalho/event/v/unstable)](https://packagist.org/packages/carlosocarvalho/event) [![License](https://poser.pugx.org/carlosocarvalho/event/license)](https://packagist.org/packages/carlosocarvalho/event) \n\n## Install\n```php \n composer require carlosocarvalho/event\n```\n\n## usage\n\n```php\n\u003c?php\n\n$emitter = \\COC\\Event\\Emitter::getInstance();\n\n$emitter-\u003eon('evm.createdUser', function($name, $lastname){\n    print(\"hello {$lastname}, {$name} welcome!!\");\n});\n\n$emitter-\u003eemit('evm.createdUser','Firstname','Lastname');\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosocarvalho%2Fphp-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlosocarvalho%2Fphp-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosocarvalho%2Fphp-event/lists"}