Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/00f100/fcphp-redis
- Owner: 00F100
- License: mit
- Created: 2018-06-17T23:16:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T15:52:01.000Z (over 6 years ago)
- Last Synced: 2024-12-24T18:46:33.329Z (13 days ago)
- Topics: fcphp, php7, redis
- Language: PHP
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: contentprint_r($redis->keys('*'));
// List all keus into array$redis->delete('key');
// Delete key```