Psonic - PHP client for sonic auto suggestion engine
Summary
Sonic is a super fast auto-suggestion engine built by the team at crisp.chat, a customer engagement platform. it is built in Rust and they officially support a javascript client, but if you want to use sonic via PHP, this is the library that you can look for Completely unit tested, and adheres to modern coding standards, and offers a clean API to interact with sonic.
Installation & Usage
you need a running sonic instance (locally or in the cloud, the port 1491 should be accessible) php7+ and composer to make this library work. Read more on installing sonic
- goto your project directory
- execute
composer require ppshobi/psonic
once the installation is completed you should be able to use the library as follows
Api Documentaion
Usage
once you have psonic in place, you have access to the Client
β¦