https://github.com/00f100/fcphp-redis
Package to manipulate Redis
https://github.com/00f100/fcphp-redis
fcphp php7 redis
Last synced: 5 months 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-04T15:52:01.000Z (almost 7 years ago)
- Last Synced: 2025-01-01T16:26:33.147Z (6 months 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
[](https://travis-ci.org/00F100/fcphp-redis) [](https://codecov.io/gh/00F100/fcphp-redis) [](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```