PHPackages                             xepozz/ab - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. xepozz/ab

ActiveLibrary[Testing &amp; Quality](/categories/testing)

xepozz/ab
=========

AB testing framework for Yii 3

00PHP

Since Jul 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/xepozz/ab)[ Packagist](https://packagist.org/packages/xepozz/ab)[ RSS](/packages/xepozz-ab/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

A/B Testing
===========

[](#ab-testing)

This is a simple library to enable A/B testing based on a set of rules.

[![Latest Stable Version](https://camo.githubusercontent.com/18e74caabec5974543472bdf46336e75df82b52d7cf89e41f0eaba05f6a4baed/68747470733a2f2f706f7365722e707567782e6f72672f7865706f7a7a2f61622f762f737461626c652e737667)](https://packagist.org/packages/xepozz/ab)[![Total Downloads](https://camo.githubusercontent.com/887e0aaab36647985ad92127d8a6e7ab4e7aee579f8496ba651e79b305868e04/68747470733a2f2f706f7365722e707567782e6f72672f7865706f7a7a2f61622f646f776e6c6f6164732e737667)](https://packagist.org/packages/xepozz/ab)[![phpunit](https://github.com/xepozz/ab/workflows/PHPUnit/badge.svg)](https://github.com/xepozz/ab/actions)[![codecov](https://camo.githubusercontent.com/700d0ce99a0a927e339d0b182054f0c65257f1f21c77bcc2db32dc90a5d62075/68747470733a2f2f636f6465636f762e696f2f67682f7865706f7a7a2f61622f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d55524558414f5548544a)](https://codecov.io/gh/xepozz/ab)[![type-coverage](https://camo.githubusercontent.com/5533856f8e3de0d9e03d33669cf62fee8c086128f2dfb345d4e35e460a767e67/68747470733a2f2f73686570686572642e6465762f6769746875622f7865706f7a7a2f61622f636f7665726167652e737667)](https://shepherd.dev/github/xepozz/ab)

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

[](#installation)

```
composer require xepozz/ab
```

Looking for more modules?
-------------------------

[](#looking-for-more-modules)

- [Unique ID](https://github.com/xepozz/unique-id) - Allows you to track the unique user in the application.
- [Request ID](https://github.com/xepozz/request-id) - A simple library to generate both unique request and response IDs for tracing purposes.
- [Feature Flag](https://github.com/xepozz/feature-flag) - A simple library to enable/disable features based on a set of rules.
- [Shortcut](https://github.com/xepozz/shortcut) - Sets of helper functions for rapid development of Yii 3 applications.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6815714?v=4)[Dmitrii Derepko](/maintainers/xepozz)[@xepozz](https://github.com/xepozz)

---

Top Contributors

[![xepozz](https://avatars.githubusercontent.com/u/6815714?v=4)](https://github.com/xepozz "xepozz (3 commits)")

---

Tags

abab-testingtestingyiiyii3

### Embed Badge

![Health badge](/badges/xepozz-ab/health.svg)

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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