antdigo / flagsmith-php-client
Requires
- php: >=7.4
- php-http/discovery: ^1.14
- psr/http-client-implementation: 1.0
- psr/http-factory-implementation: 1.0
- psr/http-message-implementation: 1.0
- psr/simple-cache: ^1.0
Requires (Dev)
- doppiogancio/mocked-client: ^3.0
- friendsofphp/php-cs-fixer: ^3.6
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^2.1.0
- phpunit/phpunit: ^9.5
- symfony/cache: ^5.4.6
This package is auto-updated.
Last update: 2024-11-21 01:12:45 UTC
README
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.