{"id":17753143,"url":"https://github.com/configcat/openfeature-php","last_synced_at":"2026-01-18T19:01:36.158Z","repository":{"id":252252536,"uuid":"835732032","full_name":"configcat/openfeature-php","owner":"configcat","description":"ConfigCat OpenFeature Provider for PHP.","archived":false,"fork":false,"pushed_at":"2025-12-15T21:08:53.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-29T17:06:42.247Z","etag":null,"topics":["configcat","feature-flag","feature-flagging","featureflags","featuretoggles","openfeature","php","remote-configuration"],"latest_commit_sha":null,"homepage":"https://configcat.com/docs/sdk-reference/openfeature/php","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/configcat.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-30T12:25:34.000Z","updated_at":"2025-12-15T21:08:56.000Z","dependencies_parsed_at":"2024-08-08T16:59:01.501Z","dependency_job_id":"c047e720-a6f8-403c-bfdd-2aa2bd388f8c","html_url":"https://github.com/configcat/openfeature-php","commit_stats":null,"previous_names":["configcat/openfeature-php"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/configcat/openfeature-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/configcat","download_url":"https://codeload.github.com/configcat/openfeature-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28548944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"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":["configcat","feature-flag","feature-flagging","featureflags","featuretoggles","openfeature","php","remote-configuration"],"created_at":"2024-10-26T13:22:52.614Z","updated_at":"2026-01-18T19:01:36.142Z","avatar_url":"https://github.com/configcat.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConfigCat OpenFeature Provider for PHP\n\n[![Build Status](https://github.com/configcat/openfeature-php/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/configcat/openfeature-php/actions/workflows/ci.yml)\n[![Latest Stable Version](https://poser.pugx.org/configcat/openfeature-provider/version)](https://packagist.org/packages/configcat/openfeature-provider)\n[![Total Downloads](https://poser.pugx.org/configcat/openfeature-provider/downloads)](https://packagist.org/packages/configcat/openfeature-provider)\n\nThis repository contains an OpenFeature provider that allows [ConfigCat](https://configcat.com) to be used with the [OpenFeature PHP SDK](https://github.com/open-feature/php-sdk).\n\n## Requirements\n- PHP \u003e= 8.1\n\n## Installation\n\n```sh\ncomposer require configcat/openfeature-provider\n```\n\n## Usage\n\nThe `ConfigCatProvider` constructor takes the SDK key and an optional `array` argument containing the additional configuration options for the [ConfigCat PHP SDK](https://github.com/configcat/php-sdk):\n\n```php\n// Acquire an OpenFeature API instance.\n$api = OpenFeatureAPI::getInstance();\n\n// Build options for the ConfigCat SDK.\n$options = [\n  ClientOptions::LOG_LEVEL =\u003e LogLevel::WARNING,\n  ClientOptions::CACHE_REFRESH_INTERVAL =\u003e 5,\n  //...\n];\n\n// Configure the provider.\n$api-\u003esetProvider(new ConfigCatProvider('\u003cYOUR-CONFIGCAT-SDK-KEY\u003e', $options));\n\n// Create a client.\n$client = $api-\u003egetClient();\n\n// Evaluate a feature flag.\n$isMyAwesomeFeatureEnabled = $client-\u003egetBooleanValue('isMyAwesomeFeatureEnabled', false);\n```\n\nFor more information about all the configuration options, see the [PHP SDK documentation](https://configcat.com/docs/sdk-reference/php/#creating-the-configcat-client).\n\n## Need help?\nhttps://configcat.com/support\n\n## Contributing\nContributions are welcome. For more info please read the [Contribution Guideline](CONTRIBUTING.md).\n\n## About ConfigCat\nConfigCat is a feature flag and configuration management service that lets you separate releases from deployments. You can turn your features ON/OFF using \u003ca href=\"https://app.configcat.com\" target=\"_blank\"\u003eConfigCat Dashboard\u003c/a\u003e even after they are deployed. ConfigCat lets you target specific groups of users based on region, email or any other custom user attribute.\n\nConfigCat is a \u003ca href=\"https://configcat.com\" target=\"_blank\"\u003ehosted feature flag service\u003c/a\u003e. Manage feature toggles across frontend, backend, mobile, desktop apps. \u003ca href=\"https://configcat.com\" target=\"_blank\"\u003eAlternative to LaunchDarkly\u003c/a\u003e. Management app + feature flag SDKs.\n\n- [Official ConfigCat SDKs for other platforms](https://github.com/configcat)\n- [Documentation](https://configcat.com/docs)\n- [Blog](https://configcat.com/blog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfigcat%2Fopenfeature-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconfigcat%2Fopenfeature-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfigcat%2Fopenfeature-php/lists"}