The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev guideRecipesAPI Reference
Dev guideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev guide

Install the PHP SDK

This topic describes the steps necessary to install the Optimizely Feature Experimentation PHP SDK into your application.

The Optimizely Feature Experimentation PHP SDK is available through Composer.

SDK version 4.0.0+ requires PHP 8+.
SDK version 3.0.0+ requires PHP 5.5+ up to PHP 7.

To install using Composer:

composer require optimizely/optimizely-sdk

The full source code is available on GitHub.