PHPackages                             rikudou/unleash-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rikudou/unleash-sdk

Abandoned → [unleash/client](/?search=unleash%2Fclient)Library[Utility &amp; Helpers](/categories/utility)

rikudou/unleash-sdk
===================

v1.1.180(4y ago)21.0kMITPHPPHP ^8.0

Since Jul 2Pushed 4y agoCompare

[ Source](https://github.com/RikudouSage/UnleashSDK)[ Packagist](https://packagist.org/packages/rikudou/unleash-sdk)[ RSS](/packages/rikudou-unleash-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (18)Versions (41)Used By (0)

This package got migrated to the official namespace at [github.com/Unleash/unleash-client-php](https://github.com/Unleash/unleash-client-php) and will no longer be updated here.
=================================================================================================================================================================================

[](#this-package-got-migrated-to-the-official-namespace-at-githubcomunleashunleash-client-php-and-will-no-longer-be-updated-here)

[![Tests](https://github.com/RikudouSage/UnleashSDK/actions/workflows/tests.yaml/badge.svg)](https://github.com/RikudouSage/UnleashSDK/actions/workflows/tests.yaml)[![Tests (7.x)](https://github.com/RikudouSage/UnleashSDK/actions/workflows/tests-7.x.yaml/badge.svg)](https://github.com/RikudouSage/UnleashSDK/actions/workflows/tests-7.x.yaml)[![Coverage Status](https://camo.githubusercontent.com/bb2c6a511739a8fe266f9799b03f649efb983a46903e892023c131fc2d857377/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f52696b75646f75536167652f556e6c6561736853444b3f6c6162656c3d436f6465253230436f766572616765)](https://coveralls.io/github/RikudouSage/UnleashSDK?branch=master)

A PHP implementation of the [Unleash protocol](https://www.getunleash.io/)aka [Feature Flags](https://docs.gitlab.com/ee/operations/feature_flags.html) in GitLab.

You may also be interested in the [Symfony Bundle](https://github.com/RikudouSage/UnleashSdkBundle) for this package.

This implementation conforms to the official Unleash standards and implements all of Unleash features.

> Unleash allows you to gradually release your app's feature before doing a full release based on multiple strategies like releasing to only specific users or releasing to a percentage of your user base. Read more in the above linked documentations.

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

[](#installation)

`composer require rikudou/unleash-sdk`

Requires PHP 7.3 or newer.

> You will also need some implementation of [PSR-18](https://packagist.org/providers/psr/http-client-implementation)and [PSR-17](https://packagist.org/providers/psr/http-factory-implementation), for example [Guzzle](https://packagist.org/packages/guzzlehttp/guzzle)and [PSR-16](https://packagist.org/providers/psr/simple-cache-implementation), for example [Symfony Cache](https://packagist.org/packages/symfony/cache). Example:

`composer require rikudou/unleash-sdk guzzlehttp/guzzle symfony/cache`

or

`composer require rikudou/unleash-sdk symfony/http-client nyholm/psr7 symfony/cache`

Usage
-----

[](#usage)

The basic usage is getting the `Unleash` object and checking for a feature:

```
