{"id":36976125,"url":"https://github.com/launchdarkly/php-server-sdk-redis-phpredis","last_synced_at":"2026-01-13T22:08:33.151Z","repository":{"id":40461326,"uuid":"386323294","full_name":"launchdarkly/php-server-sdk-redis-phpredis","owner":"launchdarkly","description":"Redis integration for the LaunchDarkly SDK for Server-side PHP using phpredis","archived":false,"fork":false,"pushed_at":"2025-04-29T13:49:47.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":38,"default_branch":"main","last_synced_at":"2025-09-01T19:38:37.215Z","etag":null,"topics":["feature-flags","feature-toggles","launchdarkly","launchdarkly-sdk","launchdarkly-sdk-component","managed-by-terraform","php","phpredis","redis"],"latest_commit_sha":null,"homepage":"https://docs.launchdarkly.com/sdk/features/storing-data/redis#php","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/launchdarkly.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-07-15T14:41:22.000Z","updated_at":"2025-04-29T13:49:01.000Z","dependencies_parsed_at":"2023-02-16T20:55:18.603Z","dependency_job_id":"b3f80e1a-8f73-4d8c-8fa9-601e1c0bc3e7","html_url":"https://github.com/launchdarkly/php-server-sdk-redis-phpredis","commit_stats":{"total_commits":19,"total_committers":6,"mean_commits":"3.1666666666666665","dds":0.3157894736842105,"last_synced_commit":"7fcb9b2340fb40f9b290e6a3bdbb3ecae2345658"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/launchdarkly/php-server-sdk-redis-phpredis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchdarkly%2Fphp-server-sdk-redis-phpredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchdarkly%2Fphp-server-sdk-redis-phpredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchdarkly%2Fphp-server-sdk-redis-phpredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchdarkly%2Fphp-server-sdk-redis-phpredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/launchdarkly","download_url":"https://codeload.github.com/launchdarkly/php-server-sdk-redis-phpredis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchdarkly%2Fphp-server-sdk-redis-phpredis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28402211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"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":["feature-flags","feature-toggles","launchdarkly","launchdarkly-sdk","launchdarkly-sdk-component","managed-by-terraform","php","phpredis","redis"],"created_at":"2026-01-13T22:08:32.454Z","updated_at":"2026-01-13T22:08:33.144Z","avatar_url":"https://github.com/launchdarkly.png","language":"PHP","readme":"# LaunchDarkly Server-Side SDK for PHP - Redis integration with phpredis\n\n[![Run CI](https://github.com/launchdarkly/php-server-sdk-redis-phpredis/actions/workflows/ci.yml/badge.svg)](https://github.com/launchdarkly/php-server-sdk-redis-phpredis/actions/workflows/ci.yml)\n[![Packagist](https://img.shields.io/packagist/v/launchdarkly/server-sdk-redis-phpredis.svg?style=flat-square)](https://packagist.org/packages/launchdarkly/server-sdk-redis-phpredis)\n[![Documentation](https://img.shields.io/static/v1?label=GitHub+Pages\u0026message=API+reference\u0026color=00add8)](https://launchdarkly.github.io/php-server-sdk-redis-phpredis)\n\nThis library provides a Redis-backed data source for the [LaunchDarkly PHP SDK](https://github.com/launchdarkly/php-server-sdk), replacing the default behavior of querying the LaunchDarkly service endpoints. The underlying Redis client implementation is the [`phpredis`](https://github.com/phpredis/phpredis) extension. If you want to use the Predis package instead, see https://github.com/launchdarkly/php-server-sdk-redis-predis.\n\nThe minimum version of the LaunchDarkly PHP SDK for use with this library is 6.4.0.\n\nThe minimum PHP version is 8.1.\n\nFor more information, see [our SDK documentation](https://docs.launchdarkly.com/sdk/features/storing-data).\n\n## Quick setup\n\nThis assumes that you have already installed the LaunchDarkly PHP SDK in your project.\n\n1. Make sure the `phpredis` extension is installed in your PHP runtime environment.\n\n2. Install this package with `composer`:\n\n```shell\nphp composer.phar install launchdarkly/server-sdk-redis-phpredis --save\n```\n\n3. In your SDK configuration code, configure the Redis integration:\n\n```php\n    $fr = LaunchDarkly\\Integrations\\PHPRedis::featureRequester(\n        $redisClient, [\"prefix\" =\u003e \"my-key-prefix\"]\n    );\n    $config = [\"feature_requester\" =\u003e $fr];\n    $client = new LDClient(\"sdk_key\", $config);\n```\n\n## About LaunchDarkly\n\n* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard.  With LaunchDarkly, you can:\n    * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.\n    * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).\n    * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.\n    * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.\n* LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out [our documentation](https://docs.launchdarkly.com/docs) for a complete list.\n* Explore LaunchDarkly\n    * [launchdarkly.com](https://www.launchdarkly.com/ \"LaunchDarkly Main Website\") for more information\n    * [docs.launchdarkly.com](https://docs.launchdarkly.com/  \"LaunchDarkly Documentation\") for our documentation and SDK reference guides\n    * [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/  \"LaunchDarkly API Documentation\") for our API documentation\n    * [blog.launchdarkly.com](https://blog.launchdarkly.com/  \"LaunchDarkly Blog Documentation\") for the latest product updates\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchdarkly%2Fphp-server-sdk-redis-phpredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaunchdarkly%2Fphp-server-sdk-redis-phpredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchdarkly%2Fphp-server-sdk-redis-phpredis/lists"}