Skip to content

Commit

Permalink
Update README (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliboy50 authored Jan 8, 2020
1 parent 1b7a1bc commit 7438b0d
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,8 @@ PHP 7.1 library providing a Redis PHP mock for your tests.

## Installation

Add this line in your `composer.json` :

```json
{
"require": {
"m6web/redis-mock": "~2.0"
}
}
```

Update your vendors :

```bash
$ composer update m6web/redis-mock
$ composer require --dev m6web/redis-mock
```

## Functions
Expand Down Expand Up @@ -56,7 +44,7 @@ Redis command | Description
**LLEN** *key* | Returns the length of the list stored at *key*
**LPUSH** *key* *value* *[value ...]* | Pushs values at the head of a list
**LPOP** *key* | Pops values at the head of a list
**LREM** *key* *count* *value* | Removes `count` instances of `value` from the head of a list
**LREM** *key* *value* *count* | Removes `count` instances of `value` from the head of a list (follows the [`predis` parameters order](https://github.com/phpredis/phpredis#lrem-lremove))
**LTRIM** *key* *start* *stop* | Removes the values of the `key` list which are outside the range `start`...`stop`
**LRANGE** *key* *start* *stop* | Gets a range of elements from a list
**MGET** *array\<field\>* | Gets the values of multiple keys
Expand Down

0 comments on commit 7438b0d

Please sign in to comment.