PHPackages                             statsig/statsigsdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. statsig/statsigsdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

statsig/statsigsdk
==================

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

3.7.2(7mo ago)3575.6k↓46.5%4[1 issues](https://github.com/statsig-io/php-sdk/issues)[1 PRs](https://github.com/statsig-io/php-sdk/pulls)1ISCPHPPHP ^7.4 || ^8.0CI passing

Since Jan 27Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/statsig-io/php-sdk)[ Packagist](https://packagist.org/packages/statsig/statsigsdk)[ Docs](https://github.com/statsig-io/php-sdk)[ RSS](/packages/statsig-statsigsdk/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (5)Versions (60)Used By (1)

Statsig PHP Server SDK
----------------------

[](#statsig-php-server-sdk)

[![tests](https://github.com/statsig-io/php-sdk/actions/workflows/test.yml/badge.svg)](https://github.com/statsig-io/php-sdk/actions/workflows/test.yml)

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](https://docs.statsig.com/#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](https://www.statsig.com).

Getting Started
---------------

[](#getting-started)

Check out our [SDK docs](https://docs.statsig.com/server/phpSDK) to get started.

Testing
-------

[](#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

```

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance69

Regular maintenance activity

Popularity42

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~46 days

Recently: every ~56 days

Total

31

Last Release

239d ago

Major Versions

v0.3.1 → v1.0.02022-08-02

v1.1.0 → v2.0.02022-12-01

2.4.0 → 3.0.02024-03-07

PHP version history (2 changes)v0.1.0PHP &gt;=7.0.0

v0.2.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2884e4308b4a3bf6b9e2734878b813781bb2ae29802cc883ff0ec000488077c8?d=identicon)[experiment@amplitude.com](/maintainers/experiment@amplitude.com)

![](https://www.gravatar.com/avatar/ceb30408dbc42ed2bd6381e42f13e243bdf4109925162c46323ccec40dbc1888?d=identicon)[statsig](/maintainers/statsig)

![](https://avatars.githubusercontent.com/u/95646168?v=4)[Daniel](/maintainers/daniel-statsig)[@daniel-statsig](https://github.com/daniel-statsig)

---

Top Contributors

[![sroyal-statsig](https://avatars.githubusercontent.com/u/76536058?v=4)](https://github.com/sroyal-statsig "sroyal-statsig (99 commits)")[![daniel-statsig](https://avatars.githubusercontent.com/u/95646168?v=4)](https://github.com/daniel-statsig "daniel-statsig (40 commits)")[![tore-statsig](https://avatars.githubusercontent.com/u/74584483?v=4)](https://github.com/tore-statsig "tore-statsig (39 commits)")[![dan-loomb](https://avatars.githubusercontent.com/u/95646168?v=4)](https://github.com/dan-loomb "dan-loomb (27 commits)")[![kenny-statsig](https://avatars.githubusercontent.com/u/111380336?v=4)](https://github.com/kenny-statsig "kenny-statsig (24 commits)")[![xinlili-statsig](https://avatars.githubusercontent.com/u/137219293?v=4)](https://github.com/xinlili-statsig "xinlili-statsig (9 commits)")[![weihao-statsig](https://avatars.githubusercontent.com/u/158090588?v=4)](https://github.com/weihao-statsig "weihao-statsig (6 commits)")

---

Tags

ab testfeature gatestatsig

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/statsig-statsigsdk/health.svg)

```
[![Health](https://phpackages.com/badges/statsig-statsigsdk/health.svg)](https://phpackages.com/packages/statsig-statsigsdk)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
