Welcome to the Flagship PHP SDK documentation!
The following article will guide you through the steps to get Flagship up and running on your PHP scripts using our library with preconfigured methods to implement the Decision API.
Wants to have a look at the GitHub repo? Link here.
Feel free to contact us if you have any questions regarding this documentation.
Release notes
Added
- Tracking manager check the documentation
- setCacheStrategy accessor in FlagshipConfig class
- Flagship::close method
- setHitCacheImplementation accessor in FlagshipConfig class
- Hit cache management
- Onvisitorexposed callback in FlagshipConfig class
Changed
- Hits are now sent with a batch processing system check the documentation
Added
- visitor_consent key in the body of the campaign request
Removed
- sendContextEvent query param from the campaign request
Changed
- Event hit accessor setValue can now only accept an integer and must not be a negative value
Added
- bucketingUrl property accessors in Flagship\Config\BucketingConfig
- slug property accessors in Flagship\Flag\FlagMetadata
- Managing visitor cache
Changed
- Bucketing mode
- BucketingConfig constructor signature
- FlagshipConfig::bucketing signature
Removed
- bucketingDirectoryPath property accessors from Flagship\Config\BucketingConfig
Improved
- Hits are now sent in the background
Added
- fetchFlags method in Visitor instance
- getFlag method in Visitor instance
- Flagship\Flag\FlagMetadata class
- Flagship\Flag\Flag class
Deprecated
- synchronizeModification method
- getModification method
- getModificationInfo method
- activateModification method
Added
- Bucketing mode.
- SDK Status / Status changed callback.
- Experience Continuity : visitor authentication / unauthentication.
- Visitor consent.
- Predefined context.
Changed
- FlagshipConfig implemented by
Flagship\Config\DecisionApiConfig
orFlagship\Config\BucketingConfig
- Visitor namespace
- Flagship::newVisitor is now a fluent interface builder.
Updated 21 days ago