statsig/statsigsdk

The Statsig php SDK for multi-user, server side environments.

3.1.0 2024-03-27 22:32 UTC

README

tests

The php SDK for multi-user, server side environments. If you need a SDK for another language or single user client environment, check out our other SDKs.

Statsig helps you move faster with Feature Gates (Feature Flags) and Dynamic Configs. It also allows you to run A/B tests to validate your new features and understand their impact on your KPIs. If you're new to Statsig, create an account at statsig.com.

Getting Started

Check out our SDK docs to get started.

Testing

Each server SDK is tested at multiple levels - from unit to integration and e2e tests. Our internal e2e test harness runs daily against each server SDK, while unit and integration tests can be seen in the respective github repos of each SDK. For php, the /tests/TestE2E.php runs a validation test on local rule/condition evaluation for php against the results in the statsig backend.

To run all tests:

composer install
composer test