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(6mo ago)3507.5k—8.5%4[1 issues](https://github.com/statsig-io/php-sdk/issues)1ISCPHPPHP ^7.4 || ^8.0CI passing

Since Jan 27Pushed 6mo 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 1mo ago

READMEChangelog (10)Dependencies (5)Versions (59)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

51

—

FairBetter than 96% of packages

Maintenance61

Regular maintenance activity

Popularity42

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity68

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

193d 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/ceb30408dbc42ed2bd6381e42f13e243bdf4109925162c46323ccec40dbc1888?d=identicon)[statsig](/maintainers/statsig)

![](https://www.gravatar.com/avatar/0e5a5eb311267b336499cdd1600a79ba6b301de7b5a8800ecfce2eb1e8cba38a?d=identicon)[daniel-statsig](/maintainers/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)")[![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

[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[ajgarlag/feature-flag-bundle

Provides a feature flag mechanism

1417.8k](/packages/ajgarlag-feature-flag-bundle)

PHPackages © 2026

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