statsig / statsigsdk
The Statsig php SDK for multi-user, server side environments.
Installs: 168 253
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 4
Open Issues: 0
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: ^7.0
- statsig/ip3country: ^0.1.0
- ua-parser/uap-php: ^3.9
Requires (Dev)
- mockery/mockery: ^1.5
- phpunit/phpunit: ^9.3
- dev-main
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.1
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.4.0
- 2.3.0
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.0
- v1.1.0
- v1.0.0
- 0.3.x-dev
- v0.3.1
- v0.3.0
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.0
- dev-releases/3.5.2
- dev-releases/3.5.1
- dev-releases/3.5.0
- dev-releases/3.4.0
- dev-releases/3.3.1
- dev-releases/3.3.0
- dev-releases/3.2.0
- dev-releases/3.1.0
- dev-releases/3.0.0
- dev-releases/2.4.0
- dev-releases/2.3.0
- dev-lazyinit-1
- dev-lazyinit
- dev-revertlazy
- dev-lazy
- dev-releases/v2.2.0
- dev-stable
- dev-disk-adapters-v2
- dev-logfile
- dev-removegmp
This package is auto-updated.
Last update: 2024-12-09 21:25:14 UTC
README
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