{"id":13520108,"url":"https://github.com/algolia/algoliasearch-client-php","last_synced_at":"2026-02-12T19:05:59.964Z","repository":{"id":8549702,"uuid":"10172371","full_name":"algolia/algoliasearch-client-php","owner":"algolia","description":"⚡️ A fully-featured and blazing-fast PHP API client to interact with Algolia.","archived":false,"fork":false,"pushed_at":"2026-02-10T13:38:43.000Z","size":46438,"stargazers_count":693,"open_issues_count":21,"forks_count":113,"subscribers_count":83,"default_branch":"main","last_synced_at":"2026-02-10T18:24:34.581Z","etag":null,"topics":["algolia","algolia-search","api-client","faceted-search","geo-search","php","search","search-engine","search-synonyms"],"latest_commit_sha":null,"homepage":"https://www.algolia.com/doc/libraries/sdk/install#php","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/algolia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2013-05-20T12:37:37.000Z","updated_at":"2026-02-10T13:38:47.000Z","dependencies_parsed_at":"2024-01-08T14:55:56.662Z","dependency_job_id":"faf6a127-d64c-4a28-aac5-f99645b9721b","html_url":"https://github.com/algolia/algoliasearch-client-php","commit_stats":{"total_commits":1167,"total_committers":65,"mean_commits":"17.953846153846154","dds":0.7060839760068551,"last_synced_commit":"48fb056b6d5159bdea1e30add5d3dfdb4f8d3a38"},"previous_names":[],"tags_count":269,"template":false,"template_full_name":null,"purl":"pkg:github/algolia/algoliasearch-client-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/algolia","download_url":"https://codeload.github.com/algolia/algoliasearch-client-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-php/sbom","scorecard":{"id":14370,"data":{"date":"2025-08-11","repo":{"name":"github.com/algolia/algoliasearch-client-php","commit":"0e1c309313ed44ea524121babe4eb21cd0ae367c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/do-not-edit-this-repository.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/issue.yml:8","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/do-not-edit-this-repository.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/algolia/algoliasearch-client-php/do-not-edit-this-repository.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/algolia/algoliasearch-client-php/issue.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T15:24:08.154Z","repository_id":8549702,"created_at":"2025-08-14T15:24:08.154Z","updated_at":"2025-08-14T15:24:08.154Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29377949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algolia","algolia-search","api-client","faceted-search","geo-search","php","search","search-engine","search-synonyms"],"created_at":"2024-08-01T05:02:11.608Z","updated_at":"2026-02-12T19:05:59.959Z","avatar_url":"https://github.com/algolia.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.algolia.com\"\u003e\n    \u003cimg alt=\"Algolia for PHP\" src=\"https://raw.githubusercontent.com/algolia/algoliasearch-client-common/master/banners/php.png\" \u003e\n  \u003c/a\u003e\n\n  \u003ch4 align=\"center\"\u003eThe perfect starting point to integrate \u003ca href=\"https://algolia.com\" target=\"_blank\"\u003eAlgolia\u003c/a\u003e within your PHP project\u003c/h4\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://circleci.com/gh/algolia/algoliasearch-client-php\"\u003e\u003cimg src=\"https://circleci.com/gh/algolia/algoliasearch-client-php.svg?style=shield\" alt=\"CircleCI\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/algolia/algoliasearch-client-php\"\u003e\u003cimg src=\"https://poser.pugx.org/algolia/algoliasearch-client-php/d/total.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/algolia/algoliasearch-client-php\"\u003e\u003cimg src=\"https://poser.pugx.org/algolia/algoliasearch-client-php/v/stable.svg\" alt=\"Latest Version\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/algolia/algoliasearch-client-php\"\u003e\u003cimg src=\"https://poser.pugx.org/algolia/algoliasearch-client-php/license.svg\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.algolia.com/doc/libraries/sdk/install#php\" target=\"_blank\"\u003eDocumentation\u003c/a\u003e  •\n  \u003ca href=\"https://github.com/algolia/scout-extended\" target=\"_blank\"\u003eLaravel\u003c/a\u003e  •\n  \u003ca href=\"https://github.com/algolia/search-bundle\" target=\"_blank\"\u003eSymfony\u003c/a\u003e  •\n  \u003ca href=\"https://discourse.algolia.com\" target=\"_blank\"\u003eCommunity Forum\u003c/a\u003e  •\n  \u003ca href=\"http://stackoverflow.com/questions/tagged/algolia\" target=\"_blank\"\u003eStack Overflow\u003c/a\u003e  •\n  \u003ca href=\"https://github.com/algolia/algoliasearch-client-php/issues\" target=\"_blank\"\u003eReport a bug\u003c/a\u003e  •\n  \u003ca href=\"https://www.algolia.com/support\" target=\"_blank\"\u003eSupport\u003c/a\u003e\n\u003c/p\u003e\n\n## ✨ Features\n\n- Thin \u0026 minimal low-level HTTP client to interact with Algolia's API\n- Supports php `^8.0`.\n\n## 💡 Getting Started\n\nFirst, install Algolia PHP API Client via the [composer](https://getcomposer.org/) package manager:\n\n```bash\ncomposer require algolia/algoliasearch-client-php \"^4.0\"\n```\n\nYou can now import the Algolia API client in your project and play with it.\n\n```php\nuse Algolia\\AlgoliaSearch\\Api\\SearchClient;\n\n$client = SearchClient::create('\u003cYOUR_APP_ID\u003e', '\u003cYOUR_API_KEY\u003e');\n\n// Add a new record to your Algolia index\n$response = $client-\u003esaveObject(\n    '\u003cYOUR_INDEX_NAME\u003e',\n    ['objectID' =\u003e 'id',\n        'test' =\u003e 'val',\n    ],\n);\n\n// play with the response\nvar_dump($response);\n\n// Poll the task status to know when it has been indexed\n$client-\u003ewaitForTask('\u003cYOUR_INDEX_NAME\u003e', $response['taskID']);\n\n// Fetch search results, with typo tolerance\n$response = $client-\u003esearch(\n    ['requests' =\u003e [\n        ['indexName' =\u003e '\u003cYOUR_INDEX_NAME\u003e',\n            'query' =\u003e '\u003cYOUR_QUERY\u003e',\n            'hitsPerPage' =\u003e 50,\n        ],\n    ],\n    ],\n);\n\n// play with the response\nvar_dump($response);\n```\n\nFor full documentation, visit the **[Algolia PHP API Client](https://www.algolia.com/doc/libraries/sdk/install#php)**.\n\n## ❓ Troubleshooting\n\nEncountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://support.algolia.com/hc/sections/15061037630609-API-Client-FAQs) where you will find answers for the most common issues and gotchas with the client. You can also open [a GitHub issue](https://github.com/algolia/api-clients-automation/issues/new?assignees=\u0026labels=\u0026projects=\u0026template=Bug_report.md)\n\n## Contributing\n\nThis repository hosts the code of the generated Algolia API client for PHP, if you'd like to contribute, head over to the [main repository](https://github.com/algolia/api-clients-automation). You can also find contributing guides on [our documentation website](https://api-clients-automation.netlify.app/docs/introduction).\n\n## 📄 License\n\nThe Algolia PHP API Client is an open-sourced software licensed under the [MIT license](LICENSE).\n","funding_links":[],"categories":["Embeddings \u0026 Vector Search","PHP","API Clients"],"sub_categories":["Tokenizers \u0026 Prompt Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Falgoliasearch-client-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgolia%2Falgoliasearch-client-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Falgoliasearch-client-php/lists"}