https://github.com/theopenwebjp/simple-php-ab-tester
Configurable simple AB tester for PHP
https://github.com/theopenwebjp/simple-php-ab-tester
ab-testing php testing
Last synced: about 1 month ago
JSON representation
Configurable simple AB tester for PHP
- Host: GitHub
- URL: https://github.com/theopenwebjp/simple-php-ab-tester
- Owner: theopenwebjp
- License: mit
- Created: 2022-04-08T00:20:29.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T15:31:56.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T18:36:12.863Z (over 1 year ago)
- Topics: ab-testing, php, testing
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Description
Simple PHP AB Tester.
Main functionality is done by copy/pasting this directory AND using an if function.
Extra functionality is available here: 「ab-test-id standard」.
## Reason for Making
PHP AB Testers already exist.
However, they often require composer installation, and don't abstract the important parts.
This library aims to be simple and do what is desired with no building, programming, and little need for adding configuration.
## Specification
- Allow for randomization by probability
- Allow for more than 2
- Allow for manual testing using private GET key for override
- Disallow direct access
## Usage
### Via _AB directory
1. Copy _AB template directory to parent directory where being used.
2. Add original and any other AB target files to _AB/inputs/.
3. Optionally(※However always change "manualAccessKey" in settings.json at least for the first time.) make any desired changes to the _AB/settings.json file.
4. Replace target file with "