- Notifications
You must be signed in to change notification settings - Fork32
Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.
License
amphp/redis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
AMPHP is a collection of event-driven libraries for PHP designed with fibers and concurrency in mind.This package provides non-blocking access toRedis instances.All I/O operations are handled byRevolt event loop, so you should be familiar with the basics of it.
This package can be installed as aComposer dependency.
composer require amphp/redis
<?phprequire__DIR__ .'/vendor/autoload.php';usefunctionAmp\Redis\createRedisClient;$redis =createRedisClient('redis://');$redis->set('foo','21');$result =$redis->increment('foo',21);\var_dump($result);// int(42)
If you discover any security related issues, please use the private security issue reporter instead of using the publicissue tracker.
The MIT License (MIT). Please seeLICENSE
for more information.
About
Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.