{"repo":"searchcraft-inc/searchcraft-client-php","free":true,"listed":false,"github":"https://github.com/searchcraft-inc/searchcraft-client-php","clone":"git clone https://github.com/searchcraft-inc/searchcraft-client-php.git","description":"Official PSR-compatible PHP client for the Searchcraft API","language":"PHP","stars":15,"topics":["client","database","enterprise-search","fuzzy-search","php8","psr-18","sdk","search-as-you-type","search-engine","searchcraft"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Searchcraft API PHP Client A PSR-compatible PHP client for the Searchcraft API. Documentation Discord FAQ Issues / Requests Searchcraft Cloud Searchcraft Website Installation You will also need to install a PSR-18 compatible HTTP client, such as Guzzle. Basic Usage Initialize the client The client can be initialized with different types of API keys, depending on your access requirements: By default, the client connects to http://localhost:8000 . To use a different endpoint such as a Searchcraft Cloud cluster: Using PSR-18 HTTP Client The client uses PSR-18 HTTP Client discovery to find an available HTTP client. You can also provide your own: Searchcraft PHP Client does not include a specific HTTP client in its require dependencies but Guzzle is recommended. You will need to install one in order to use the Searchcraft client. Search Operations Search operations require an admin key or read key. Basic Search Federation Search Index Operations Index administration operations require an admin key. List Indexes Get Index Details Create Index Update Index Note if you are not adding, removing or changing properties of schema fields will likely want to use the PATCH operation instead. An update request will remove existing documents but for patchable updates your index is not emptied. See the docs for details on which properties are patchable. Patch Index Delete Index Document Operations Document operations require an admin key or ingest key. Add Documents Update Documents Get Docume","default_branch":null,"files":null,"tree":[],"storefront":"/r/searchcraft-inc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/searchcraft-inc/searchcraft-client-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}