{"id":22898129,"url":"https://github.com/quantosobra/redis-service-provider","last_synced_at":"2025-04-01T01:51:10.142Z","repository":{"id":62532106,"uuid":"110249596","full_name":"quantosobra/redis-service-provider","owner":"quantosobra","description":"Redis service provider for Silex/Pimple using PhpRedis extension","archived":false,"fork":false,"pushed_at":"2017-11-10T14:00:48.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T02:46:19.324Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quantosobra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-10T13:24:58.000Z","updated_at":"2017-11-10T13:25:17.000Z","dependencies_parsed_at":"2022-11-02T14:45:38.410Z","dependency_job_id":null,"html_url":"https://github.com/quantosobra/redis-service-provider","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantosobra%2Fredis-service-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantosobra%2Fredis-service-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantosobra%2Fredis-service-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantosobra%2Fredis-service-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quantosobra","download_url":"https://codeload.github.com/quantosobra/redis-service-provider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569007,"owners_count":20798341,"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":[],"created_at":"2024-12-14T00:29:26.513Z","updated_at":"2025-04-01T01:51:10.122Z","avatar_url":"https://github.com/quantosobra.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis Service Provider\n\nRedis service provider for Silex/Pimple using [PhpRedis](https://github.com/phpredis/phpredis) extension.\n\n\n## Usage\n\nRegister the service provider in your application and configure Redis options:\n\n```php\nuse QuantoSobra\\Silex\\Redis\\RedisServiceProvider;\n\n$app-\u003eregister(new RedisServiceProvider(), [\n    RedisServiceProvider::REDIS_OPTIONS =\u003e [\n        RedisServiceProvider::OPT_HOST =\u003e 'localhost',\n        RedisServiceProvider::OPT_PORT =\u003e 6379,\n        RedisServiceProvider::OPT_TIMEOUT =\u003e 30,\n        RedisServiceProvider::OPT_PERSISTENT =\u003e true,\n        RedisServiceProvider::OPT_AUTH =\u003e 'pas$word',\n        RedisServiceProvider::OPT_SERIALIZER =\u003e \\Redis::SERIALIZER_NONE, // or \\Redis::SERIALIZER_PHP or \\Redis::SERIALIZER_IGBINARY\n        RedisServiceProvider::OPT_PREFIX =\u003e 'myprefix:',\n        RedisServiceProvider::OPT_DATABASE =\u003e 0\n    ]\n]);\n```\n\n## License\n\nThis project is developed at [QuantoSobra](https://www.quantosobra.com.br) and licensed under the MIT license.\nSee the [LICENSE.md](LICENSE.md) file for the full license text.\n\nQuantoSobra \u0026copy; 2017\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantosobra%2Fredis-service-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantosobra%2Fredis-service-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantosobra%2Fredis-service-provider/lists"}