PHPackages                             flagsmith/flagsmith-php-client - 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. flagsmith/flagsmith-php-client

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

flagsmith/flagsmith-php-client
==============================

5.1.0(3mo ago)18577.3k↑87.6%13[7 issues](https://github.com/Flagsmith/flagsmith-php-client/issues)[4 PRs](https://github.com/Flagsmith/flagsmith-php-client/pulls)2BSD-3-ClausePHPPHP &gt;=8.1CI passing

Since May 4Pushed 3mo ago7 watchersCompare

[ Source](https://github.com/Flagsmith/flagsmith-php-client)[ Packagist](https://packagist.org/packages/flagsmith/flagsmith-php-client)[ RSS](/packages/flagsmith-flagsmith-php-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (35)Used By (2)

[![Packagist Version](https://camo.githubusercontent.com/2eec454a84301b002f045a294ce145f49840be93fd63d66650bdb5097cabd561/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6167736d6974682f666c6167736d6974682d7068702d636c69656e74)](https://packagist.org/packages/flagsmith/flagsmith-php-client)[![Packagist Downloads](https://camo.githubusercontent.com/2c1d025a6226788cf5eef3c6075ab915e3a2360bee8374b6dac88306db6bffb4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f666c6167736d6974682f666c6167736d6974682d7068702d636c69656e74)](https://packagist.org/packages/flagsmith/flagsmith-php-client)

Flagsmith PHP SDK
=================

[](#flagsmith-php-sdk)

> Flagsmith allows you to manage feature flags and remote config across multiple projects, environments and organisations.

The SDK for PHP applications for .

Requirements
------------

[](#requirements)

The Flagsmith PHP SDK requires the following PHP extensions to be enabled. These are essentials for the library to function properly.

- bc-math
- gmp

Please view the documentation here to install the extensions, if you haven't already. For [BC-Math](https://www.php.net/manual/en/bc.installation.php) and [GMP](https://www.php.net/manual/en/gmp.installation.php).

Local Evaluation
----------------

[](#local-evaluation)

Since PHP requests are separate, there is little benefit to use local evaluation without caching. To enable local evaluation, please set the environmentTtl value (&gt;0) and using PSR simple cache implementation.

Adding to your project
----------------------

[](#adding-to-your-project)

For full documentation visit .

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

[](#contributing)

Please read [CONTRIBUTING.md](https://gist.github.com/kyle-ssg/c36a03aebe492e45cbd3eefb21cb0486) for details on our code of conduct, and the process for submitting pull requests

Getting Help
------------

[](#getting-help)

If you encounter a bug or feature request we would like to hear about it. Before you submit an issue please search existing issues in order to prevent duplicates.

Get in touch
------------

[](#get-in-touch)

If you have any questions about our projects you can email [](mailto:support@flagsmith.com).

Useful links
------------

[](#useful-links)

[Website](https://www.flagsmith.com/)

[Documentation](https://docs.flagsmith.com/)

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance72

Regular maintenance activity

Popularity49

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~69 days

Recently: every ~128 days

Total

26

Last Release

115d ago

Major Versions

v1.0.0 → v2.0.02021-10-21

v2.1.1 → 3.0.02022-06-07

v3.1.4 → v4.0.02023-06-15

v4.5.1 → 5.0.02025-12-04

PHP version history (2 changes)v2.0.0PHP &gt;=7.4

v4.4.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c684c98b2e7c9b0832cb03a9ec12e9096c6ac4b33b8306d78458515bdc3e51c5?d=identicon)[Flagsmith](/maintainers/Flagsmith)

---

Top Contributors

[![matthewelwell](https://avatars.githubusercontent.com/u/14089968?v=4)](https://github.com/matthewelwell "matthewelwell (31 commits)")[![dabeeeenster](https://avatars.githubusercontent.com/u/173290?v=4)](https://github.com/dabeeeenster "dabeeeenster (28 commits)")[![fzia](https://avatars.githubusercontent.com/u/8246169?v=4)](https://github.com/fzia "fzia (19 commits)")[![khvn26](https://avatars.githubusercontent.com/u/979078?v=4)](https://github.com/khvn26 "khvn26 (11 commits)")[![tm1000](https://avatars.githubusercontent.com/u/564256?v=4)](https://github.com/tm1000 "tm1000 (11 commits)")[![VincentLanglet](https://avatars.githubusercontent.com/u/9052536?v=4)](https://github.com/VincentLanglet "VincentLanglet (9 commits)")[![emyller](https://avatars.githubusercontent.com/u/22429?v=4)](https://github.com/emyller "emyller (7 commits)")[![gagantrivedi](https://avatars.githubusercontent.com/u/18366226?v=4)](https://github.com/gagantrivedi "gagantrivedi (7 commits)")[![floranpagliai](https://avatars.githubusercontent.com/u/2648131?v=4)](https://github.com/floranpagliai "floranpagliai (5 commits)")[![benrometsch](https://avatars.githubusercontent.com/u/127535123?v=4)](https://github.com/benrometsch "benrometsch (4 commits)")[![misakstvanu](https://avatars.githubusercontent.com/u/42741294?v=4)](https://github.com/misakstvanu "misakstvanu (2 commits)")[![flagsmithdev](https://avatars.githubusercontent.com/u/65724737?v=4)](https://github.com/flagsmithdev "flagsmithdev (2 commits)")[![Zaimwa9](https://avatars.githubusercontent.com/u/22979684?v=4)](https://github.com/Zaimwa9 "Zaimwa9 (1 commits)")[![crowlex](https://avatars.githubusercontent.com/u/5450006?v=4)](https://github.com/crowlex "crowlex (1 commits)")[![doppiogancio](https://avatars.githubusercontent.com/u/7829649?v=4)](https://github.com/doppiogancio "doppiogancio (1 commits)")[![fgiova](https://avatars.githubusercontent.com/u/1685354?v=4)](https://github.com/fgiova "fgiova (1 commits)")[![JustinBack](https://avatars.githubusercontent.com/u/40178814?v=4)](https://github.com/JustinBack "JustinBack (1 commits)")[![oksana-yehorova](https://avatars.githubusercontent.com/u/54795047?v=4)](https://github.com/oksana-yehorova "oksana-yehorova (1 commits)")[![BartoszBartniczak](https://avatars.githubusercontent.com/u/6022713?v=4)](https://github.com/BartoszBartniczak "BartoszBartniczak (1 commits)")

---

Tags

cdcicontinous-deploymentcontinuous-integrationfeature-flagfeature-flaggersfeature-flaggingfeature-flagsfeature-togglefeature-toggles

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/flagsmith-flagsmith-php-client/health.svg)

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

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15224.3M65](/packages/opensearch-project-opensearch-php)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[anthropic-ai/sdk

Anthropic PHP SDK

129134.7k5](/packages/anthropic-ai-sdk)[shopware/app-php-sdk

Shopware App SDK for PHP

1577.8k1](/packages/shopware-app-php-sdk)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)

PHPackages © 2026

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