PHPackages                             eppo/php-sdk - 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. eppo/php-sdk

ActiveLibrary

eppo/php-sdk
============

Eppo PHP SDK

v4.2.0(3mo ago)852.2k—4.5%3MITPHPPHP ^8.1CI passing

Since Feb 28Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/Eppo-exp/php-sdk)[ Packagist](https://packagist.org/packages/eppo/php-sdk)[ Docs](https://github.com/Eppo-exp/php-sdk)[ RSS](/packages/eppo-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (44)Used By (0)

Eppo PHP SDK
============

[](#eppo-php-sdk)

[![Run Tests](https://github.com/Eppo-exp/php-sdk/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Eppo-exp/php-sdk/actions/workflows/run-tests.yml)[![Package Integration Testing](https://github.com/Eppo-exp/php-sdk/actions/workflows/test-package.yml/badge.svg)](https://github.com/Eppo-exp/php-sdk/actions/workflows/test-package.yml)

[Eppo](https://www.geteppo.com/) is a modular flagging and experimentation analysis tool. Eppo's PHP SDK is built to make assignments in multi-user server side contexts, compatible with PHP 7.3 and above. Before proceeding you'll need an Eppo account.

Features
--------

[](#features)

- Feature gates
- Kill switches
- Progressive rollouts
- A/B/n experiments
- Mutually exclusive experiments (Layers)
- Dynamic configuration
- Multi-armed Contextual Bandits

Installation
------------

[](#installation)

```
composer require eppo/php-sdk
```

Quick start
-----------

[](#quick-start)

Begin by initializing a singleton instance of Eppo's client. Once initialized, the client can be used to make assignments anywhere in your app.

### Initialize once

[](#initialize-once)

```
