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


  • bucketingUrl property accessors in Flagship\Config\BucketingConfig
  • slug property accessors in Flagship\Flag\FlagMetadata
  • Managing visitor cache


  • Bucketing mode
  • BucketingConfig constructor signature
  • FlagshipConfig::bucketing signature


  • bucketingDirectoryPath property accessors from Flagship\Config\BucketingConfig


  • Hits are now sent in the background


  • fetchFlags method in Visitor instance
  • getFlag method in Visitor instance
  • Flagship\Flag\FlagMetadata class
  • Flagship\Flag\Flag class


  • synchronizeModification method
  • getModification method
  • getModificationInfo method
  • activateModification method


  • Bucketing mode.
  • SDK Status / Status changed callback.
  • Experience Continuity : visitor authentication / unauthentication.
  • Visitor consent.
  • Predefined context.


  • FlagshipConfig implemented by Flagship\Config\DecisionApiConfig or Flagship\Config\BucketingConfig
  • Visitor namespace
  • Flagship::newVisitor is now a fluent interface builder.

What’s Next
Did this page help you?