PHPackages                             jippi/sixpack-php - 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. [API Development](/categories/api)
4. /
5. jippi/sixpack-php

AbandonedArchivedLibrary[API Development](/categories/api)

jippi/sixpack-php
=================

Sixpack A/B testing framework client

v1.0.2(12y ago)0337BSD-3-ClausePHPPHP &gt;=5.5.0

Since Jan 14Pushed 12y agoCompare

[ Source](https://github.com/jippi/sixpack-php)[ Packagist](https://packagist.org/packages/jippi/sixpack-php)[ RSS](/packages/jippi-sixpack-php/feed)WikiDiscussions develop Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/2ad6b9a5e9b3c4e34832c5fc4eef571ebdc1c2f6fa298cc643c34cc66512177c/68747470733a2f2f706f7365722e707567782e6f72672f6a697070692f7369787061636b2d7068702f76657273696f6e2e706e67)](https://packagist.org/packages/jippi/sixpack-php)

Sixpack
=======

[](#sixpack)

PHP client library for SeatGeak's Sixpack ab testing framework.

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

[](#installation)

Simply clone the project and include `sixpack.php` to your PHP Project

Usage
-----

[](#usage)

**ALL THIS IS OUT OF DATE**

Basic example:

The PHP client stores a unique client id in the current user's cookie by default.

```
$sp = new \Seatgeek\Sixpack\Session;
$alt = $sp->participate('test', array('blue', 'red'))->getAlternative();
if ($alt == 'blue') {
    /* do something blue */
} else {
    /* do somethign red */
}
```

Each session has a `client_id` associated with it that must be preserved across requests. The PHP client handles this automatically. If you'd wish to change that behavoir, you can do so like this:

```
$sp = new \Seatgeek\Sixpack\Session;
$resp = $sp->participate("new-test", array("alternative-1", "alternative-2"));
store_in_database("sixpack-id", $resp->getClientId());
```

For future requests, create the `Session` using the `client_id` stored in the cookie:

```
$client_id = get_from_database("sixpack-id")
$sp = new \Seatgeek\Sixpack\Session(array('clientId' => $client_id));

$sp->convert('new-test');
```

Other possible options for the Session constructor are:

- baseUrl - Sixpack Server's location on the web
- cookiePrefix - you can set a different prefix for the cookie if you like. Default is `sixpack`

If you'd like to force the Sixpack server to return a specific alternative for development or testing, you can do so by passing a query parameter named `sixpack-force` to that page being tested.

`http://example.com/?sixpack-force-=`

Contributing
------------

[](#contributing)

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 63.8% of commits — single point of failure

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 ~0 days

Total

2

Last Release

4503d ago

### Community

Maintainers

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

---

Top Contributors

[![zackkitzmiller](https://avatars.githubusercontent.com/u/111536?v=4)](https://github.com/zackkitzmiller "zackkitzmiller (30 commits)")[![jippi](https://avatars.githubusercontent.com/u/22841?v=4)](https://github.com/jippi "jippi (13 commits)")[![erwaller](https://avatars.githubusercontent.com/u/21978?v=4)](https://github.com/erwaller "erwaller (3 commits)")[![jack7890](https://avatars.githubusercontent.com/u/23845?v=4)](https://github.com/jack7890 "jack7890 (1 commits)")

---

Tags

apisixpack

### Embed Badge

![Health badge](/badges/jippi-sixpack-php/health.svg)

```
[![Health](https://phpackages.com/badges/jippi-sixpack-php/health.svg)](https://phpackages.com/packages/jippi-sixpack-php)
```

###  Alternatives

[seatgeek/sixpack-php

Sixpack A/B testing framework client

75212.8k](/packages/seatgeek-sixpack-php)[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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