Apex Software Platform

redis:: Service -- redis Storage Engine

Apex comes with built-in support for redis, which is a popular in-memory storage engine allowing for extremely quick retrieval and storage of data. The php-redis extension is used, which provides a very easy and efficient API to communicate with redis.

This service provides full access to the php-redis class, for example:

namespace apex;

use apex\app;
use apex\libc\redis;

redis::hset('some_hash', 'var_name', 'value');
$value = redis::hget('some_hash', 'var_name');

For more information on redis, the data types and functions available, and php-redis, please visit the below links.

redis Data Types > php-redis

Need a Developer?

Taking work, any size or scope, and your imagination is the only limit. Contact me for a free consultation at [email protected].

Recent News

Apex v1.5 Released!
Auto-Install via YAML, Preloading, CRUD Scaffolding, Code ReOrganization, Import / Export between Packages, and more...
Apex v1.4.0 Released!
New Package Format, Service Providers and Adapters, New Theme Tools, and more
Apex v1.3.0 Released!
PHP 7.4, Docker, git Integration, 96.4% Test Coverage, and more!

Mailing List

Subscribe to the low traffic mailing list to stay updated on Apex.

Admin Screenshot