PHP
Welcome to the Comprehensive Guide for Flagship PHP SDK!
This documentation is your one-stop resource for integrating Flagship into your PHP application. Our library comes with preconfigured methods designed to simplify the implementation of the Decision API or Bucketing Mode. So let's get started on enhancing your development experience with Flagship!
- Installation: Step-by-step instructions to set up Flagship in your environment.
- Quick Start: Get up and running with Flagship in no time.
- Reference: Detailed API documentation for in-depth understanding.
SDK features
This version of the SDK lets you :
- Set a visitor ID
- Update visitor context
- Assign campaigns via the Decision API or via Bucketing Mode
- Get flag
- Manage visitor consent
- Use Experience Continuity
- Activate campaigns
- Send hits to our Universal Collect
- Manage visitor cache
Prerequisites
- PHP : version 8.1 or later
- php_curl extension must be enabled
- json extension must be enabled
- Composer : version 1.0.0 or later
Good to know
Github repository: https://github.com/flagship-io/flagship-php-sdk
Versions
The latest version of our Javascript SDK is 4.0.0.
Change logs
Find the versions change logs on our Github Repository
Former versions
The documentation of the past versions are available here.
Contact us
Feel free to contact us if you have any questions regarding this documentation.
Updated 6 months ago