Registry / http-client / algolia-algoliasearch-client-php

algolia-algoliasearch-client-php

JSON →
library4.38.0phppackagistunverified

API powering the features of Algolia.

composer require algolia/algoliasearch-client-php
INSTALL
IMPORT
SIG · ALGOLIA-ALGOLIASEA
A
algolia-algoliasearch-client-php
http-clientphpv4.38.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SearchClient
use Algolia\AlgoliaSearch\SearchClient;

Initialize the Algolia client and perform a search.

use Algolia\AlgoliaSearch\SearchClient; $client = SearchClient::create('YourApplicationID', 'YourAdminAPIKey'); $index = $client->initIndex('your_index_name'); $result = $index->search('query');
Debug
Known issues
gotchaAPI key security: Never expose your Admin API Key in client-side code.
fix
Use search-only API keys for frontend requests.
affects: >=4.0.0
Upgrade
Version history
4.38.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
30
OpenAI (training)
2
Resources
algolia-algoliasearch-client-php — pip install algolia-algoliasearch-client-php · libregistry