🎉 Try the public beta of the new docs site at algolia.com/doc-beta! 🎉
API client / Methods
List of methods

We released a new version of the PHP API client in public beta. Read the beta documentation for more information.

Initialize the client#

1
2
3
4
5
<?php
require_once __DIR__."/vendor/autoload.php"
use Algolia\AlgoliaSearch\RecommendClient;

$client = RecommendClient::create('YourApplicationID', 'YourSearchOnlyAPIKey');
Did you find this page helpful?
PHP v3