/flagsmith-php-client

PHP Client for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at https://www.flagsmith.com/

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Packagist Version Packagist Downloads

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 https://www.flagsmith.com/.

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 and GMP.

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 (>0) and using PSR simple cache implementation.

Adding to your project

For full documentation visit https://docs.flagsmith.com/clients/server-side.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests

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

If you have any questions about our projects you can email support@flagsmith.com.

Useful links

Website

Documentation