<commit_before># RediSearch-PHP

RediSearch-PHP is a PHP client library for the [RediSearch](http://redisearch.io/) module which adds full-text search to Redis.

## Requirements

* Redis running with the [RediSearch module loaded](http://redisearch.io/Quick_Start/).
* PHP >=7
* [PhpRedis](https://github.com/phpredis/phpredis), [Predis](https://github.com/nrk/predis), or [php-redis-client](https://github.com/cheprasov/php-redis-client).

## Install

```bash
composer install ethanhann/redisearch-php
```<commit_msg>Changed composer install command (#46)<commit_after># RediSearch-PHP

RediSearch-PHP is a PHP client library for the [RediSearch](http://redisearch.io/) module which adds full-text search to Redis.

## Requirements

* Redis running with the [RediSearch module loaded](http://redisearch.io/Quick_Start/).
* PHP >=7
* [PhpRedis](https://github.com/phpredis/phpredis), [Predis](https://github.com/nrk/predis), or [php-redis-client](https://github.com/cheprasov/php-redis-client).

## Install

```bash
composer require ethanhann/redisearch-php
```
{'fraction_non_alphanumeric': 0.15739868049010367, 'fraction_numerical': 0.003770028275212064, 'mean_word_length': 5.2105263157894735, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1153768', 'n_tokens_mistral': 375, 'n_tokens_neox': 363, 'n_words': 78}