PHPackages                             floodgate/floodgate-php-sdk - 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. floodgate/floodgate-php-sdk

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

floodgate/floodgate-php-sdk
===========================

PHP SDK for Floodgate, a cloud service which provides a centralized management console for managing remote feature flags.

1.3.0(6y ago)09.1k1MITPHPPHP &gt;=5.3.0CI failing

Since Oct 26Pushed 6y agoCompare

[ Source](https://github.com/floodgate-io/php-sdk)[ Packagist](https://packagist.org/packages/floodgate/floodgate-php-sdk)[ RSS](/packages/floodgate-floodgate-php-sdk/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (1)

FloodGate SDK for PHP
=====================

[](#floodgate-sdk-for-php)

Overview
--------

[](#overview)

This is the PHP SDK for [Floodgate](https://floodgate.io), a feature rollout service which provides a centralised management console for managing remote feature flags.

Compatibility
-------------

[](#compatibility)

This SDK is designed to work with PHP 5.3+

Installing
----------

[](#installing)

You can install the Floodgate SDK using Composer

```
composer require floodgate/floodgate-php-sdk

```

Usage
-----

[](#usage)

Below is an example of a simple implementation of getting a single flag value.

```
$floodgateClient = new FloodgateSDK\FloodgateClient('enter-your-sdk-key');

$result = $floodgateClient->GetValue('feature-flag-key', false);

if ($result) {
  // Do something new and exciting
}
else {
  // Do whatever I usually do
}
```

Submitting issues
-----------------

[](#submitting-issues)

Sometimes everyone has issues! The Floodgate teams tracks all issues submitted to this [issue tracker](https://github.com/floodgate-io/php-sdk/issues). You are encouraged to use the issue tracker to report any bugs or submit your general feedback and feature enhancements. We will do our best to respond as quickly as possible.

Contributing
------------

[](#contributing)

We are always looking for talented engineers to join the Floodgate team. If you would like to contribue to our projects feel free to fork this project and when ready issue a PR back for review.

About Floodgate
---------------

[](#about-floodgate)

Floodgate is a remote feature management system designed to help engineering teams and product teams work independently. Using feature flags managed by Floodgate you will dramatically reduce the risks software companies face when releasing and deploying new features.

With Floodgate you can use fine grained user targeting to test out new features in your production environment with minimal impact and risk to your existing systems and customers. Floodgate provides a simple to use percentage rollout facility to allow you to perform canary releases with just a few clicks.

To learn more about Floodgate, visit us at  or contact . To get started with feature flags for free at .

Floodgate has currently developed following SDKs.

- .Net Framework [GitHub](https://github.com/floodgate-io/dotnet-framework-sdk)
- PHP [GitHub](https://github.com/floodgate-io/php-sdk)
- Node [GitHub](https://github.com/floodgate-io/node-sdk)
- JavaScript [GitHub](https://github.com/floodgate-io/javascript-sdk)

Contributing a New SDK
----------------------

[](#contributing-a-new-sdk)

If you would like to contribute to Floodgate's library of SDKs and create an SDK for a new language, feel free to drop us an email at

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~42 days

Total

5

Last Release

2270d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b066b264e2b840a6217a8b6cc493bc93a747438af942e4c1010695eed00c498?d=identicon)[floodgateio](/maintainers/floodgateio)

---

Top Contributors

[![mathewtaylor](https://avatars.githubusercontent.com/u/51848714?v=4)](https://github.com/mathewtaylor "mathewtaylor (1 commits)")

---

Tags

canary-releasecicdconfiguration-managementcontinuous-deliverycontinuous-integrationdark-launchingfeature-flagsfeature-togglesfloodgatefloodgate-sdkphp-sdkremote-configfeature togglefeature flagconfig-managementdark launchcanary releasepercentage rollout

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/floodgate-floodgate-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/floodgate-floodgate-php-sdk/health.svg)](https://phpackages.com/packages/floodgate-floodgate-php-sdk)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.8k69.4k](/packages/grumpydictator-firefly-iii)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k42](/packages/ecotone-ecotone)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)

PHPackages © 2026

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