{"id":43160667,"url":"https://github.com/v10086/redis","last_synced_at":"2026-02-01T01:18:52.168Z","repository":{"id":57076426,"uuid":"254140500","full_name":"v10086/redis","owner":"v10086","description":"redis操作句柄","archived":false,"fork":false,"pushed_at":"2021-03-18T15:21:00.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T12:23:03.915Z","etag":null,"topics":["php","phpredis","redis"],"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/v10086.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":"2020-04-08T16:21:56.000Z","updated_at":"2021-03-19T06:34:15.000Z","dependencies_parsed_at":"2022-08-24T14:55:51.945Z","dependency_job_id":null,"html_url":"https://github.com/v10086/redis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/v10086/redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v10086%2Fredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v10086%2Fredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v10086%2Fredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v10086%2Fredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v10086","download_url":"https://codeload.github.com/v10086/redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v10086%2Fredis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28963522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T00:42:38.011Z","status":"ssl_error","status_checked_at":"2026-02-01T00:42:35.920Z","response_time":128,"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":["php","phpredis","redis"],"created_at":"2026-02-01T01:18:51.623Z","updated_at":"2026-02-01T01:18:52.160Z","avatar_url":"https://github.com/v10086.png","language":"PHP","readme":"📃 开源协议 Apache License Version 2.0 see http://www.apache.org/licenses/LICENSE-2.0.html\n# 简介\n\n基于phpreis拓展开发的简约、高效、可靠的Redis操作句柄\n支持断线自动重连功能\n\n\n版本说明\n--------------------------------------------------------------------------\n\nPHP7.0+版本 必须安装phpredis拓展\n\n安装教程\n--------------------------------------------------------------------------\n\ncomposer require v10086/redis:v1.0\n\n使用示例\n--------------------------------------------------------------------------\n\n\n```php\n\n\u003c?php\n        //设置配置信息\n        \\v10086\\Redis::$config=[\n                'default'=\u003e[\n                    'host'          =\u003e  'redis',//地址\n                    'port'          =\u003e '6379',//端口\n                    'password'      =\u003e'pass',//密码\n                    'persistent'    =\u003eTRUE, //是否长连接  true 是 false 否\n                    'timeout'=\u003eFALSE\n                ],\n                'other'=\u003e[\n                    'host'          =\u003e  'other_redis',//地址\n                    'port'          =\u003e '6379',//端口\n                    'password'      =\u003e'other_pass',//密码\n                    'persistent'    =\u003eTRUE, //是否长连接  true 是 false 否\n                    'timeout'=\u003eFALSE\n                ],\n        ];\n        //默认default 可设置为其他配置\n        \\v10086\\Redis::connection('default');\n\n        //句柄所具备的操作函数跟redis官方所提供的命令一致,可到redis官网查阅\n        \\v10086\\Redis::set('key','val');\n        \\v10086\\Redis::get('key');\n\n\n\n\n\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv10086%2Fredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv10086%2Fredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv10086%2Fredis/lists"}