ethanhann / redisearch-php
Requires
- php: >=8.2
- ethanhann/redis-raw: ^3.0.2
- psr/log: ^3.0.0
- symfony/console: ^7.0 || ^8.0
Requires (Dev)
- cheprasov/php-redis-client: ^1.9
- friendsofphp/php-cs-fixer: ^v3.10.0
- mockery/mockery: ^1.6.0
- monolog/monolog: ^3.2.0
- phpunit/phpunit: ^11.0
- predis/predis: ^v2.0.0
- ukko/phpredis-phpdoc: ^5.0@beta
Suggests
- ext-redis: Required for the phpredis adapter
- cheprasov/php-redis-client: Required for the RedisClient adapter
- predis/predis: Required for the predis adapter (default CLI adapter)
This package is auto-updated.
Last update: 2026-05-14 21:31:33 UTC
README
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:
just up
Then run the tests:
just test
Specific Redis clients can be tested:
just test-predis just test-php-redis just test-redis-client
Or to run tests for all clients:
just test-all
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:
just fmt
Laravel Support
Laravel-RediSearch - Exposes RediSearch-PHP to Laravel as a Scout driver.