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.
Source on GitHub
All our API clients are open-sourced and available on Github.
If you’re a Symfony or Laravel user, you’re probably looking for the following integrations: