GitHub - ethanhann/redisearch-php: PHP client library for RediSearch.

Latest Stable Version Total Downloads Latest Unstable Version License

What is this?

RediSearch-PHP is a PHP client library for the RediSearch module which adds Full-Text search to Redis.

See the documentation for more information.

Contributing

Contributions are welcome. Before submitting a PR for review, please run confirm all tests in the test suite pass.

Start the local Docker dev environment by running:

Then run the tests:

Specific Redis clients can be tested:

just test-predis
just test-php-redis
just test-redis-client

Or to run tests for all clients:

Do not run tests on a prod system (of course), or any system that has a Redis instance with data you care about - Redis is flushed between tests.

To fix code style, before submitting a PR:

Laravel Support

Laravel-RediSearch - Exposes RediSearch-PHP to Laravel as a Scout driver.