API Reference
/
API Methods
/
Install the PHP API Client
Jun. 10, 2019
With Composer (recommended)#
Install the package via Composer:
Copy
$
composer require algolia/algoliasearch-client-php
Without Composer#
- Download the client from GitHub and unzip it in your project
- Inside the client root folder, execute
./bin/install-dependencies-without-composer
- In your code, require the
autoload.php
in the client root folder
Supported platforms#
The API client is compatible with PHP version 5.3 and later.
Source on GitHub#
All our API clients are open source and available on Github.
Language-specific notes#
If you’re a Symfony or Laravel user, you’re probably looking for the following integrations:
- Laravel: Laravel Scout
- Symfony: algolia/AlgoliaSearchBundle