Download the PHP package absurge/php without Composer
On this page you can find all versions of the php package absurge/php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor absurge
Package php
Short Description ABsurge PHP SDK for feature flags and A/B testing
License MIT
Homepage https://github.com/absurge/php
Package php
Short Description ABsurge PHP SDK for feature flags and A/B testing
License MIT
Homepage https://github.com/absurge/php
Please rate this library. Is it a good library?
Informations about the package php
absurge/php
PHP SDK for ABsurge — feature flags and A/B testing.
Uses Laravel's HTTP client (illuminate/http).
Install
Usage
API
| Method | Description |
|---|---|
evaluate($distinctId, $attributes = [], $flags = null, $experiments = null) |
Batch evaluate flags and experiments |
isEnabled($flag, $distinctId, $attributes = []) |
Boolean flag check |
getExperiment($experiment, $distinctId, $attributes = []) |
Experiment variant assignment |
trackExposure($experiment, $distinctId, $attributes = []) |
Record experiment exposure |
trackConversion($experiment, $distinctId, $event, $value = null, $properties = null) |
Record conversion |
trackReplay($experiment, $distinctId, $events, $durationMs = null) |
Upload session replay events |
Authenticate with your environment publishable key via the X-ABsurge-Key header (set automatically).
Requirements
- PHP 8.2+
illuminate/http^12.0 or ^13.0
License
MIT
All versions of php with dependencies
PHP Build Version
Package Version
The package absurge/php contains the following files
Loading the files please wait ...