PHPackages                             werkraummedia/abtest - 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. werkraummedia/abtest

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

werkraummedia/abtest
====================

Provides A/B Testing for TYPO3.

v2.0.0(1y ago)04312[4 issues](https://github.com/werkraum-media/abtest/issues)[1 PRs](https://github.com/werkraum-media/abtest/pulls)GPL-2.0-or-laterPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0

Since Mar 6Pushed 1y agoCompare

[ Source](https://github.com/werkraum-media/abtest)[ Packagist](https://packagist.org/packages/werkraummedia/abtest)[ Docs](https://github.com/werkraum-media/abtest)[ RSS](/packages/werkraummedia-abtest/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (9)Versions (3)Used By (0)

abtest TYPO3 Extension
======================

[](#abtest-typo3-extension)

Extension for A/B-Tests

This extension supports TYPO3 administrators in performing A/B tests. This is useful when a site owner want to measure whether a new version improves or reduces user interaction compared to the current version.

### Features of the extension

[](#features-of-the-extension)

1. Caching of each page version
2. A real 50/50% chance. That means: No selection by random, because of the unreliable random method. So the versions are always taken alternately.
3. Complete different content with same page id. So only one URL for two versions. The displayed version is determined by the cookie value.

#### More information

[](#more-information)

Page properties get a new field "B Page" where you can provide the alternative page version. If the page is requested by the user, the extension checks wheter there is a B version specified. If this is the case, the version is selected by "random". A cookie is set that remembers which version the user got (so there is no flip-flop if the user requests the page repeatedly). Once the cookie expires, the user is back to random at the next request.

Additional header information may be specified both for the original version as well as for the B version. This allows to track version differences in a web analysis tool such as Analytics.

#### Demo

[](#demo)

[![Demo](https://raw.githubusercontent.com/werkraum-media/abtest/master/Documentation/Images/demo.gif)](https://raw.githubusercontent.com/werkraum-media/abtest/master/Documentation/Images/demo.gif)

### Matomo A/B integration

[](#matomo-ab-integration)

Provides an integration for "A/B Testing - Experiments" . This is currently enabled out of the box and integrated into this extension. That is because we need this for one of our customers. We didn't think it is worth it to split it up into this own extension right now.

You can disable the corresponding event listener and hide the corresponding fields.

### Known issues

[](#known-issues)

This extension currently does not support typeNum.

It always checks requested page for a variant, and it always adds the tracking code.

### Changelog

[](#changelog)

#### v2.0.0

[](#v200)

- TYPO3 v13 + matching PHP versions

#### v1.0.0

[](#v100)

- Integrate matomo tracking.
- TYPO3 v11

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance47

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

397d ago

Major Versions

v1.0.0 → v2.0.02025-06-02

PHP version history (2 changes)v1.0.0PHP ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0

v2.0.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/050bb447626bd34a00e655752d99ccff1140ae7ec7d129316819662829e041a3?d=identicon)[codappix](/maintainers/codappix)

![](https://avatars.githubusercontent.com/u/69327?v=4)[dkor](/maintainers/dkor)[@dkor](https://github.com/dkor)

---

Top Contributors

[![CarlosAgrelis](https://avatars.githubusercontent.com/u/22834317?v=4)](https://github.com/CarlosAgrelis "CarlosAgrelis (3 commits)")[![DanielSiepmann](https://avatars.githubusercontent.com/u/354250?v=4)](https://github.com/DanielSiepmann "DanielSiepmann (3 commits)")[![d-s-codappix](https://avatars.githubusercontent.com/u/179449418?v=4)](https://github.com/d-s-codappix "d-s-codappix (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/werkraummedia-abtest/health.svg)

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

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[typo3/cms-form

TYPO3 CMS Form - Flexible TYPO3 frontend form framework that comes with a backend editor interface.

147.6M266](/packages/typo3-cms-form)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)

PHPackages © 2026

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