Install the PHP API client
With Composer (recommended)
Install the package via Composer:
composer require algolia/algoliasearch-client-php
- Download the client from GitHub and unzip it in your project
- Inside the client root folder, execute
- In your code, require the
autoload.phpin the client root folder
The API client is compatible with PHP version 5.3 and later.
If you’re a Symfony or Laravel user, you’re probably looking for the following integrations:
Did you find this page helpful?
We're always looking for advice to help improve our documentation!
Please let us know what's working (or what's not!).
We're constantly iterating thanks to the feedback we receive.