Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/00f100/fcphp-redis

Package to manipulate Redis
https://github.com/00f100/fcphp-redis

fcphp php7 redis

Last synced: 5 days ago
JSON representation

Package to manipulate Redis

Awesome Lists containing this project

README

        

# FcPhp Redis

Package to manage Redis

[![Build Status](https://travis-ci.org/00F100/fcphp-redis.svg?branch=master)](https://travis-ci.org/00F100/fcphp-redis) [![codecov](https://codecov.io/gh/00F100/fcphp-redis/branch/master/graph/badge.svg)](https://codecov.io/gh/00F100/fcphp-redis) [![Total Downloads](https://poser.pugx.org/00F100/fcphp-redis/downloads)](https://packagist.org/packages/00F100/fcphp-redis)

## How to install

Composer:
```sh
$ composer require 00f100/fcphp-redis
```

or add in composer.json
```json
{
"require": {
"00f100/fcphp-redis": "*"
}
}
```

## How to use

```php
set('key', 'content');

echo $redis->get('key');
// Print: content

print_r($redis->keys('*'));
// List all keus into array

$redis->delete('key');
// Delete key

```