ethanhann / redisearch-php
Fund package maintenance!
Ko Fi
www.paypal.com/paypalme/EthanHann
Requires
- php: >=8.2
- ethanhann/redis-raw: ^2.1.0
- psr/log: ^3.0.0
Requires (Dev)
- cheprasov/php-redis-client: ^1.9
- consolidation/robo: ^4.0.0-alpha1
- friendsofphp/php-cs-fixer: ^v3.10.0
- mockery/mockery: ^1.5.0
- monolog/monolog: ^3.2.0
- phpunit/phpunit: ^9.5.23
- predis/predis: ^v2.0.0
- ukko/phpredis-phpdoc: ^5.0@beta
- dev-main
- v2.x-dev
- 2.1.0
- 2.0.0
- 2.0.0-ALPHA3
- 2.0.0-ALPHA2
- 2.0.0-ALPHA1
- v1.x-dev
- 1.9.0
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.1
- 1.0.0
- 0.11.0
- 0.10.1
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-chore/add_php_8.2_support
- dev-chore/upgrade_deps
- dev-feature/support_getting_scores_with_suggestions
- dev-bug/70_escape_special_characters_in_tag_field_filters
- dev-bug/61_wrong_suggestion_increment_command
- dev-feature/group_by_filter
- dev-add_tag_support
- dev-feature/support_aggregation_pipeline
- dev-feature/low_level_client_adapter
- dev-bug/fix_array_implosion
- dev-build_with_docker
This package is auto-updated.
Last update: 2024-11-16 23:59:17 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:
docker compose up
...or simply:
./dev
Then run the tests:
vendor/bin/robo test
Specific Redis clients can be tested:
vendor/bin/robo test:predis vendor/bin/robo test:php-redis vendor/bin/robo test:redis-client
Or to run tests for all clients:
vendor/bin/robo 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:
vendor/bin/robo task:fix-code-style
Laravel Support
Laravel-RediSearch - Exposes RediSearch-PHP to Laravel as a Scout driver.