{"id":37331291,"url":"https://github.com/asyncphp/remit","last_synced_at":"2026-01-16T03:35:52.365Z","repository":{"id":28430244,"uuid":"31945169","full_name":"asyncphp/remit","owner":"asyncphp","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-18T16:25:57.000Z","size":16,"stargazers_count":62,"open_issues_count":1,"forks_count":3,"subscribers_count":7,"default_branch":"1.x","last_synced_at":"2025-10-01T01:01:56.655Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asyncphp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"license.md","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-10T08:02:11.000Z","updated_at":"2025-03-06T13:33:15.000Z","dependencies_parsed_at":"2022-07-08T11:01:38.971Z","dependency_job_id":null,"html_url":"https://github.com/asyncphp/remit","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/asyncphp/remit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncphp%2Fremit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncphp%2Fremit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncphp%2Fremit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncphp%2Fremit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asyncphp","download_url":"https://codeload.github.com/asyncphp/remit/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncphp%2Fremit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2026-01-16T03:35:51.664Z","updated_at":"2026-01-16T03:35:52.357Z","avatar_url":"https://github.com/asyncphp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remit\n\n[![Build Status](http://img.shields.io/travis/asyncphp/remit.svg?style=flat-square)](https://travis-ci.org/asyncphp/remit)\n[![Code Quality](http://img.shields.io/scrutinizer/g/asyncphp/remit.svg?style=flat-square)](https://scrutinizer-ci.com/g/asyncphp/remit)\n[![Code Coverage](http://img.shields.io/scrutinizer/coverage/g/asyncphp/remit.svg?style=flat-square)](https://scrutinizer-ci.com/g/asyncphp/remit)\n[![Version](http://img.shields.io/packagist/v/asyncphp/remit.svg?style=flat-square)](https://packagist.org/packages/asyncphp/remit)\n[![License](http://img.shields.io/packagist/l/asyncphp/remit.svg?style=flat-square)](license.md)\n\nDistributed event emitter. Compatible from PHP `5.3` to PHP `7`.\n\n## Usage\n\nListening for events:\n\n```php\nuse AsyncPHP\\Remit\\Client\\ZeroMqClient;\nuse AsyncPHP\\Remit\\Client\\ZeroMqServer;\nuse AsyncPHP\\Remit\\Location\\InMemoryLocation;\n\n$server = new ZeroMqServer(new InMemoryLocation(\"127.0.0.1\", 5555));\n\n$server-\u003eaddListener(\"my-event\", function($param1, $param2) {\n    // ...do a thing\n});\n\n$client = new ZeroMqClient(new InMemoryLocation(\"127.0.0.1\", 5555));\n\n$this-\u003eclient-\u003eemit(\"my-event\", array(\"foo\", \"bar\"));\n```\n\nYou can find more in-depth documentation in [docs/en](docs/en/introduction.md).\n\n## Motivation\n\nThis library provides a small, simple API for allowing bi-directional communication between processes, and across multiple servers. It's an event emitter, where the listeners can be in a different process, or on a different server to the code that emits events to them.\n\n## Versioning\n\nThis library follows [Semver](http://semver.org). According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.\n\nAll methods, with `public` visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep `protected` methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.\n\n## Thanks\n\nI'd like to thank [SilverStripe](http://www.silverstripe.com) for letting me work on fun projects like this. Feel free to talk to me about using the [framework and CMS](http://www.silverstripe.org) or [working at SilverStripe](http://www.silverstripe.com/who-we-are/#careers).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyncphp%2Fremit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasyncphp%2Fremit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyncphp%2Fremit/lists"}