algolia/algoliasearch-client-php
Official Algolia Search API client for PHP (8.0+). A thin, low-level HTTP SDK to index, update, and search records, manage indices, and interact with Algolia’s APIs. Install via Composer and start using SearchClient with your App ID and API key.
Adopt When:
Look Elsewhere If:
*"This package lets us deploy Algolia’s enterprise-grade search in PHP/Laravel with weeks of work instead of months. Algolia handles the heavy lifting—scaling, relevance, and uptime—while we focus on product features. For example:
*"The algolia/algoliasearch-client-php package is a thin, high-performance HTTP wrapper for Algolia’s API, optimized for Laravel/Symfony. Key benefits:
$client = SearchClient::create(env('ALGOLIA_APP_ID'), env('ALGOLIA_API_KEY'));
$results = $client->search([
'indexName' => 'products',
'query' => 'wireless headphones',
'hitsPerPage' => 10,
]);
Alternatives: Rolling your own search (high maintenance) or using Algolia’s JS client (adds frontend complexity). This is the most maintainable path for PHP apps."*
*"This enables us to ship search features faster without sacrificing quality. Prioritize use cases where search directly impacts:
How can I help you explore Laravel packages today?