Disclaimer: This website requires JavaScript to function properly. Some features may not work as expected. Please enable JavaScript in your browser settings for the best experience.

Optimizely will be sunsetting Full Stack Experimentation on July 29, 2024. See the recommended Feature Experimentation migration timeline and documentation.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Install SDK

This topic describes the steps necessary to install the Optimizely PHP SDK.

Our PHP SDK is available through Composer.

The SDK requires PHP 5.5+.

To install using Composer:

composer require optimizely/optimizely-sdk

The full source code is available on GitHub.