NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #769 most downloaded on Packagist
API powering the features of Algolia.
Latest stable
4.55.0
Last release 5 days ago
17 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
289 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
ea6c1849 feat(php): Remove file cache driver for PHP (#733) by @damcou
61343d52 fix(specs): correct type for typoTolerance (#722) by @shortcuts
Your coding agent can read these notes before it upgrades. Set up the MCP server →
[PHP 8.4] Fix: Curl CURLOPT_BINARYTRANSFER deprecated by @Ayesh in https://github.com/algolia/algoliasearch-client-php/pull/729
CURLOPT_BINARYTRANSFER deprecated by @Ayesh in https://github.com/algolia/algoliasearch-client-php/pull/729Full Changelog: https://github.com/algolia/algoliasearch-client-php/compare/3.4.1...3.4.2
Fix compatibility for psr/http-message ^1.1
Update DOCKER_README.MD (#716) (by @matthewbond)
Add phpdoc regarding return types
## v3.3.1 ### Fixed - Fix class not found error
Fixes deprecation alert when using symfony/error-handler
Add #[\ReturnTypeWillChange] when needed for PHP 8.1 compatibility
Add search alias for multiple queries
Use ::class instead of string for class name
### Fixed - Remove invalid method call
Nothing published for this version
Add missing part of the url for stopABTest() method
Nothing published for this version
### Chore - Containerize the repo
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Please find the upgrade guide here: https://www.algolia.com/doc/api-client/getting-started/upgrade-from-v1/php/
Please find the upgrade guide here: https://www.algolia.com/doc/api-client/getting-started/upgrade-from-v1/php/
Additonal information are available here: https://discourse.algolia.com/t/introducing-php-api-client-v2/5635
Add getter and setter for Index::indexName property
Read more on our forum: https://discourse.algolia.com/t/introducing-php-api-client-v2/5635
Read more on our forum: https://discourse.algolia.com/t/introducing-php-api-client-v2/5635
index to initIndex for easier upgradeNothing published for this version
Doc: https://deploy-preview-2021--algolia-doc.netlify.com/doc/api-client/getting-started/install/php/
Doc: https://deploy-preview-2021--algolia-doc.netlify.com/doc/api-client/getting-started/install/php/
Nothing published for this version
Introduce $client->multipleGetObjects() to retrieve objects via ObjectID across multiple indices
Introduce $client->multipleGetObjects() to retrieve objects via ObjectID
across multiple indices
fix $index->waitTask to return task, behavior prior to 1.27.0
The original methods on the index still work are not deprecated.
Introduce AB Testing feature - PR #408 List/Create/Stop/Delete AB Tests programmatically Introduce new Analytics object, wrapper around the Analytics API (more methods to come).
2 methods about taskID initially available in the Index moved to the Client.
You could get some taskID from the engine without necessarily have an instance of Index,
instead of instanciating an index that you won't need, you can now call waitTask and getTaskStatus on the client.
The original methods on the index still work are not deprecated.
$client->waitTask($indexName, $taskID)
$client->getTaskStatus($indexName, $taskID)
Fix PHP warning when using searchDisjunctiveFaceting - See #407
searchDisjunctiveFaceting - See #407Deprecation: Keys should not be managed at the Index level but at the Client level
🎉 Note to contributors: Everybody is now able to run the test on Travis, since we moved to temporary credentials.️ ⤵️ https://blog.algolia.com/travis-encrypted-variables-external-contributions/
Fix: addApiKey was fixed in 1.25.0 (see changelog entry below). The same fix was ported to updateApiKey.
Fix: Curl was added to the composer requirements. If you get an error because curl is not enabled in CLI, enable it or use the flag --ignore-platform-reqs
Fix: Adding a rule with an empty ID failed silently, it will now throw an exception
Deprecation: Keys should not be managed at the Index level but at the Client level
All methods Index::(list|get|add|update)ApiKeys() are now
deprecated. If you already have keys on the Index, it would be best
to delete them and regenerate new keys with client, adding the indexes
restriction.
Example:
$client->addApiKey([
'acl' => 'search',
'indexes' => 'my_index_name',
])
Fix: Add $requestHeaders arg to Index::browse and Index::deleteBy
Fix: When browsing, ensure cursor is passed in the body Cursor can become so long that the generated URL fails (error HTTP 414).
Chore: Add PHP version to the UserAgent
feat(places): Set write hosts when using Places
Even though Algolia Places indices are read-only, we still need to take into account the write hosts to let the user generate its own API keys.
feat: Let you define all API keys capabilities in one array
Example:
$client->addApiKey([
'acl' => [
'search',
'listIndexes',
],
'validity' => $validity,
'maxQueriesPerIPPerHour' => 1000,
'maxHitsPerQuery' => 50,
'indexes' => ['prefix_*'],
]);
instead of
$client->addApiKey(['search', 'listIndexes'], $validity, 1000, 50, ['prefix_*']);
feat: Introduce ScopedCopyIndex method, to copy settings, synonyms or query rules between indices
fix: remove all requestHeaders params from method signatures as it breaks backward compatibility. Features added in 1.23.0 still work the same.
feat: add a requestHeaders parameter to every method to allow passing custom HTTP headers on a per request basis
requestHeaders parameter to every method to allow passing custom HTTP headers on a per request basisfeat: Introduce SynonymIterator to easily export all synonyms
fix: remove usage of deprecated API key methods
feat(places): add getObject support
feat(query-rules): add query rules support
delete by supportAlgoliaConnectionExceptionmake API credentials optional for Client::initPlaces()
add a strategy to keep state between PHP requests
add a strategy to keep state between PHP requests
rename userKey to apiKey in the different keys related methods
Make sure we don't have duplicated user agent
One column per quarter.