Download the PHP package macfja/redisearch without Composer
On this page you can find all versions of the php package macfja/redisearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download macfja/redisearch
More information about macfja/redisearch
Files in macfja/redisearch
Informations about the package redisearch
PHP RediSearch
MacFJA/redisearch is a PHP Client for RediSearch.
The implemented API is for RediSearch 2.x
Installation
Usage
Get a Redis client
This lib can use several connector for Redis:
- Predis - Pure PHP implementation
- Phpredis - PHP extension
- Phpiredis - PHP extension depending on hiredis
- Amp\Redis - Pure PHP Async implementation
- cheprasov/php-redis-client - Pure PHP implementation
- Credis - Pure PHP implementation
- Rediska - Pure PHP implementation
- Redisent - Pure PHP implementation
- TinyRedis - Pure PHP implementation
You can pick the connector depending on your need.
You can add your own implementation, all you need is to implement the interface \MacFJA\RediSearch\Redis\Client
and add it to the client facace with:
Create a new index
The builder can also be used with withXxx
and withAddedXxx
instead of setXxx
and addXxx
.
This will give you a new instance of the builder with the configured data.
Add a document
Search
Create a search query
Pipeline
Use Predis (v1.x) shorthand syntax
Use Rediska shorthand syntax
Similar projects
- ethanhann/redisearch-php - Abandoned
- front/redisearch - Partial fork of
ethanhann/redisearch-php
- ashokgit/redisearch-php - Fork of
ethanhann/redisearch-php
Contributing
You can contribute to the library. To do so, you have Github issues to:
- ask your question
- request any change (typo, bad code, new feature etc.)
- and much more...
You also have PR to:
- suggest a correction
- suggest a new feature
- and much more...
See CONTRIBUTING for more information.
License
The MIT License (MIT). Please see License File for more information.
All versions of redisearch with dependencies
ext-intl Version *
composer/semver Version ^3.2
respect/validation Version ^2.0