To access the API directly, you may need to interact with Algolia’s PHP client. The Algolia PHP client lets you use Algolia’s features in the most customizable way possible.Documentation Index
Fetch the complete documentation index at: https://algolia.com/llms.txt
Use this file to discover all available pages before exploring further.
Before you access the Algolia’s PHP client directly,
make sure that there aren’t any breaking changes:
Command line
Algolia::client
The client method returns an instance of Algolia\AlgoliaSearch\SearchClient:
PHP
Algolia::index
The index method returns an instance of Algolia\AlgoliaSearch\SearchIndex:
PHP
Algolia::analytics
The analytics method returns an instance of Algolia\AlgoliaSearch\AnalyticsClient:
PHP