æ¦è¦ Redisã®Sort Setã®APIãè¥å¹²ä½¿ãã¥ããã®ã§ãã½ã¼ã·ã£ã«ã²ã¼ã ã§ã®ã¦ã¼ã¹ã±ã¼ã¹ã«å³ããAPIã§ã©ãããã¾ããã https://github.com/matsubo/redis-ranking ã¤ã³ã¹ãã¼ã« Composer対å¿ãã¦ããã¾ãã composer.jsonã«ä»¥ä¸ãæ¸ãã¦ãphp composer.phar updateãã¦ãã ããã { "require": { "redis/ranking": "1.0.*" } ãµã³ãã«ã³ã¼ã <?php require __DIR__ . '/../vendor/autoload.php'; use Matsubo\Redis\Ranking; $redis = new \Redis(); $redis->connect('127.0.0.1', 6379); $ranking = new Ranking($key =
{{#tags}}- {{label}}
{{/tags}}