PHPackages                             open-feature/cloudbees-provider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. open-feature/cloudbees-provider

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

open-feature/cloudbees-provider
===============================

The CloudBees provider package for OpenFeature

1.1.0(1y ago)04Apache-2.0PHPPHP ^8

Since Nov 21Pushed 1y ago2 watchersCompare

[ Source](https://github.com/open-feature-php/cloudbees-provider)[ Packagist](https://packagist.org/packages/open-feature/cloudbees-provider)[ RSS](/packages/open-feature-cloudbees-provider/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (22)Versions (9)Used By (0)

OpenFeature CloudBees Provider for PHP
======================================

[](#openfeature-cloudbees-provider-for-php)

[![a](https://camo.githubusercontent.com/17e144567dd661fcbef070f93dddc42e62807a539ee3165e47d0ddc507bf15f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736c61636b2d253430636e63662532466f70656e666561747572652d627269676874677265656e3f7374796c653d666c6174266c6f676f3d736c61636b)](https://cloud-native.slack.com/archives/C0344AANLA1)[![Latest Stable Version](https://camo.githubusercontent.com/d0d7b642d10673d1c45e43c60ea1bd1327d194d89359af30ddcdc072110a78c5/687474703a2f2f706f7365722e707567782e6f72672f6f70656e2d666561747572652f636c6f7564626565732d70726f76696465722f76)](https://packagist.org/packages/open-feature/cloudbees-provider)[![Total Downloads](https://camo.githubusercontent.com/e4752118ecf2ee4dd6bab7ff6018b001ff7dd3c8c570ffd467d6c765344716c1/687474703a2f2f706f7365722e707567782e6f72672f6f70656e2d666561747572652f636c6f7564626565732d70726f76696465722f646f776e6c6f616473)](https://packagist.org/packages/open-feature/cloudbees-provider)[![PHP 8.0+](https://camo.githubusercontent.com/36d788d0f2d62c47ef64bc13d6f62e5921218d50977830b654730882e0d0f1cc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e302d626c75652e737667)](https://camo.githubusercontent.com/36d788d0f2d62c47ef64bc13d6f62e5921218d50977830b654730882e0d0f1cc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e302d626c75652e737667)[![License](https://camo.githubusercontent.com/5d2b04d80c6895caba59a7ab1127a7ac04049fd04d61164c0f522840a2f8c8d7/687474703a2f2f706f7365722e707567782e6f72672f6f70656e2d666561747572652f636c6f7564626565732d70726f76696465722f6c6963656e7365)](https://packagist.org/packages/open-feature/cloudbees-provider)

Overview
--------

[](#overview)

CloudBees Feature Management is designed to release, control, and measure features at scale. This repository and package provides the client side code for interacting with it via the OpenFeature PHP SDK.

This package also builds on various PSRs (PHP Standards Recommendations) such as the Logger interfaces (PSR-3) and the Basic and Extended Coding Standards (PSR-1 and PSR-12).

### Limitations

[](#limitations)

There is [an open issue](https://github.com/rollout/rox-php/issues/37) with object deserialization in the upstream library used for Rollout, CloudBees Feature Management SDK for PHP. Objects are also not first-class citizens of the feature management system, as in there is no direct "object" retrieval. Instead the OpenFeature provider builds upon the string retrieval with JSON as the expected format. This doesn't *really* work though, due to the open issue above. Once that is resolved, JSON objects saved in CloudBees Feature Management system will simply be accessible.

Installation
------------

[](#installation)

```
composer require open-feature/cloudbees-provider
```

Usage
-----

[](#usage)

The `CloudBeesProvider` can be created with the static `setup` method. This works in much the same way as the `Rox::setup` method, so you can refer to the Rollout documentation for PHP [here](https://docs.cloudbees.com/docs/cloudbees-feature-management/latest/getting-started/php-sdk) for more information.

```
// retrieve the OpenFeatureAPI instance
$api = OpenFeatureAPI::getInstance();

// setup the CloudBeesProvider with the default settings
$provider = CloudBeesProvider::setup($apiKey);

// set the OpenFeature provider
$api->setProvider($provider);

// retrieve an OpenFeatureClient
$client = $api->getClient('cloudbees-example', '1.0');

$flagValue = $client->getBooleanDetails('dev.openfeature.example_flag', true, null, null);

// ... do work with the $flagValue

// IMPORTANT! make sure to shutdown the CloudBees provider
CloudBeesProvider::shutdown();
```

Development
-----------

[](#development)

### PHP Versioning

[](#php-versioning)

This library targets PHP version 8.0 and newer. As long as you have any compatible version of PHP on your system you should be able to utilize the OpenFeature SDK.

This package also has a `.tool-versions` file for use with PHP version managers like `asdf`.

### Installation and Dependencies

[](#installation-and-dependencies)

Install dependencies with `composer install`. `composer install` will update the `composer.lock` with the most recent compatible versions.

We value having as few runtime dependencies as possible. The addition of any dependencies requires careful consideration and review.

### Testing

[](#testing)

Run tests with `composer run test`.

#### Integration tests

[](#integration-tests)

The integration test suite utilizes a locally available mock server for Rollout called Roxy.

The docker image is published under `rollout/roxy`.

For more information on Roxy, see [the documentation](https://docs.cloudbees.com/docs/cloudbees-feature-management/latest/debugging/microservices-automated-testing-and-local-development#_running_roxy).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~132 days

Recently: every ~178 days

Total

7

Last Release

525d ago

Major Versions

0.8.0 → 1.1.02025-01-24

PHP version history (2 changes)0.1.0PHP ^7.4 || ^8

0.3.0PHP ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/37b811aae08f6063ce4a6c9111849a2c8c5400b58718072c224c9eb8c46e5f17?d=identicon)[0xc](/maintainers/0xc)

---

Top Contributors

[![tcarrio](https://avatars.githubusercontent.com/u/8659099?v=4)](https://github.com/tcarrio "tcarrio (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

providerrolloutfeatureflagsfeatureflaggingopenfeatureroxcloudbees

###  Code Quality

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/open-feature-cloudbees-provider/health.svg)

```
[![Health](https://phpackages.com/badges/open-feature-cloudbees-provider/health.svg)](https://phpackages.com/packages/open-feature-cloudbees-provider)
```

###  Alternatives

[open-feature/sdk

PHP implementation of the OpenFeature SDK

42781.1k19](/packages/open-feature-sdk)[opensoft/rollout

Feature switches or flags for PHP

2611.9M5](/packages/opensoft-rollout)[flagception/flagception-bundle

Feature toggle bundle on steroids.

324.0M](/packages/flagception-flagception-bundle)[daftspunk/laravel-config-writer

Laravel provider to be able to rewrite configuration

17751.9k1](/packages/daftspunk-laravel-config-writer)[bluemmb/faker-picsum-photos-provider

picsum.photos provider for Faker

31244.2k2](/packages/bluemmb-faker-picsum-photos-provider)[aalaap/faker-youtube

Faker provider for generating fake YouTube video URLs

2292.3k](/packages/aalaap-faker-youtube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
