antdigo/flagsmith-php-client

dev-main 2022-07-13 11:29 UTC

This package is auto-updated.

Last update: 2024-11-21 01:12:45 UTC


README

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. To enable for docker containers, please have a look at our sample in the example directory.

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