dev-master
9999999-devPHP library to store time series analytics data into Redis
MIT
The Requires
The Development Requires
analytics redis nosql stats timeseries
PHP library to store time series analytics data into Redis
PHP library to store time series analytics data into Redis, (*1)
composer require acostes/php-redis-timeseries
use RedisAnalytics\TimeSeries; // You also can add parameters to the constructor to connect to your redis intance // __construct($host = '127.0.0.1', $port = '6379', $database = 0) $ts = new TimeSeries(); // Add a new entry to you key at a specific timestamp $ts->add($myKey, $timestamp, $value); // Retrieve all data for a specific interval $from / $to $ts->get($myKey, $from, $to);
The code for Redistats is distributed under the terms of the MIT license (see LICENSE)., (*2)
PHP library to store time series analytics data into Redis
MIT
analytics redis nosql stats timeseries