{"id":18550282,"url":"https://github.com/xp-forge/redis","last_synced_at":"2026-02-15T19:03:55.559Z","repository":{"id":57084821,"uuid":"204178781","full_name":"xp-forge/redis","owner":"xp-forge","description":"Redis Protocol","archived":false,"fork":false,"pushed_at":"2025-01-19T09:46:04.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-13T04:17:44.865Z","etag":null,"topics":["redis","resp","xp-framework"],"latest_commit_sha":null,"homepage":null,"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/xp-forge.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-24T15:52:21.000Z","updated_at":"2025-01-19T09:45:14.000Z","dependencies_parsed_at":"2025-01-19T10:25:42.228Z","dependency_job_id":"f21302d5-f36e-445e-9347-356d16b5a136","html_url":"https://github.com/xp-forge/redis","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"9ddc7a307f6fad029401d67a7cf807e6c4970449"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/xp-forge/redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xp-forge%2Fredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xp-forge%2Fredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xp-forge%2Fredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xp-forge%2Fredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xp-forge","download_url":"https://codeload.github.com/xp-forge/redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xp-forge%2Fredis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29487397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"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":["redis","resp","xp-framework"],"created_at":"2024-11-06T21:04:05.508Z","updated_at":"2026-02-15T19:03:55.524Z","avatar_url":"https://github.com/xp-forge.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Redis protocol\n==============\n\n[![Build status on GitHub](https://github.com/xp-forge/redis/workflows/Tests/badge.svg)](https://github.com/xp-forge/redis/actions)\n[![XP Framework Module](https://raw.githubusercontent.com/xp-framework/web/master/static/xp-framework-badge.png)](https://github.com/xp-framework/core)\n[![BSD Licence](https://raw.githubusercontent.com/xp-framework/web/master/static/licence-bsd.png)](https://github.com/xp-framework/core/blob/master/LICENCE.md)\n[![Requires PHP 7.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-7_0plus.svg)](http://php.net/)\n[![Supports PHP 8.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-8_0plus.svg)](http://php.net/)\n[![Latest Stable Version](https://poser.pugx.org/xp-forge/redis/version.svg)](https://packagist.org/packages/xp-forge/redis)\n\n[Redis protocol](https://redis.io/topics/protocol) implementation.\n\nExample\n-------\n\n```php\nuse io\\redis\\RedisProtocol;\n\n$protocol= new RedisProtocol('redis://localhost');\n$protocol-\u003ecommand('SET', 'key', 'value');\n\n$value= $protocol-\u003ecommand('GET', 'key');\n``` \n\nThe port defaults to 6379 and can be changed by adding it as follows: *redis://localhost:16379*. To use authentication, pass it as username in the connection string, e.g. *redis://secret@localhost*.\n\nPub/Sub\n-------\n\n```php\nuse io\\redis\\RedisProtocol;\n\n$protocol= new RedisProtocol('redis://localhost');\n$protocol-\u003ecommand('SUBSCRIBE', 'messages');\n\nwhile ($message= $protocol-\u003ereceive()) {\n  Console::writeLine('Received ', $message);\n}\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxp-forge%2Fredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxp-forge%2Fredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxp-forge%2Fredis/lists"}