Official PHP client for the Typesense API: https://github.com/typesense/typesense
$ composer require typesense/typesense-php
You can also add typesense/typesense-php
to your project's composer.json
.
Read the documentation here: https://typesense.org/api/
Here are some examples that walk you through how to use the client: doc/examples
Typesense uses HTTPlug as an abstraction layer for an HTTP client. You'll find the List of supported HTTP clients & adapters here. Please be sure to install a supported client.
Typesense Server | typesense-php |
---|---|
>= v0.18.0 | >= v4.4.0 |
>= v0.17.0 | >= v4.2.0 |
>= v0.16.0 | >= v4.1.0 |
>= v0.15.0 | >= v4.0.0 |
Bug reports and pull requests are welcome on GitHub at [https://github.com/typesense/typesense-php].
Run linter:
composer run-script lint:fix
Run Typesense Server:
composer run-script typesenseServer
This client was originally developed by Abdullah Al-Faqeir from DevLoops and was adopted as the official PHP client library for Typesense in Oct 2020.
Ongoing development and support is now provided by Typesense, in addition to our collaborators.