amphp / Redis
Licence: mit
Async Redis Client for PHP based on Amp.
Stars: ✭ 107
Projects that are alternatives of or similar to Redis
Kong Plugin Response Cache
A Kong plugin that will cache responses in redis
Stars: ✭ 66 (-38.32%)
Mutual labels: redis, cache
Ymate Platform V2
YMP是一个非常简单、易用的轻量级Java应用开发框架,涵盖AOP、IoC、WebMVC、ORM、Validation、Plugin、Serv、Cache等特性,让开发工作像搭积木一样轻松!
Stars: ✭ 106 (-0.93%)
Mutual labels: redis, cache
Memento
Fairly basic redis-like hashmap implementation on top of a epoll TCP server.
Stars: ✭ 74 (-30.84%)
Mutual labels: async, redis
Redisgo Async
RedisGo-Async is a Go client for Redis, both asynchronous and synchronous modes are supported,its API is fully compatible with redigo.
Stars: ✭ 60 (-43.93%)
Mutual labels: async, redis
Terraform Aws Elasticache Redis
Terraform module to provision an ElastiCache Redis Cluster
Stars: ✭ 73 (-31.78%)
Mutual labels: redis, cache
Redis Tag Cache
Cache and invalidate records in Redis with tags
Stars: ✭ 48 (-55.14%)
Mutual labels: redis, cache
Websocket Client
Async WebSocket client for PHP based on Amp.
Stars: ✭ 83 (-22.43%)
Mutual labels: async, amphp
Postgres
Async Postgres client for PHP based on Amp.
Stars: ✭ 56 (-47.66%)
Mutual labels: async, amphp
Object Cache
Simple Ruby object caching solution using Redis as a backend
Stars: ✭ 50 (-53.27%)
Mutual labels: redis, cache
Http Server
A non-blocking HTTP application server for PHP based on Amp.
Stars: ✭ 1,122 (+948.6%)
Mutual labels: async, amphp
Easycaching
💥 EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
Stars: ✭ 1,047 (+878.5%)
Mutual labels: redis, cache
Sync
Synchronization primitives for PHP based on Amp.
Stars: ✭ 67 (-37.38%)
Mutual labels: async, amphp
Keshi
A better in-memory cache for Node and the browser
Stars: ✭ 75 (-29.91%)
Mutual labels: async, cache
redis
amphp/redis
provides non-blocking access to Redis instances.
All I/O operations are handled by the Amp concurrency framework, so you should be familiar with the basics of it.
Installation
This package can be installed as a Composer dependency.
composer require amphp/redis
Usage
<?php
require __DIR__ . '/vendor/autoload.php';
use Amp\Redis\Config;
use Amp\Redis\Redis;
use Amp\Redis\RemoteExecutor;
Amp\Loop::run(static function () {
$redis = new Redis(new RemoteExecutor(Config::fromUri('redis://')));
yield $redis->set('foo', '21');
$result = yield $redis->increment('foo', 21);
\var_dump($result); // int(42)
});
Security
If you discover any security related issues, please email [email protected]
instead of using the issue tracker.
License
The MIT License (MIT). Please see LICENSE
for more information.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].