Apex

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 Professional?

Need development work by the creator of Apex? E-mail matt.dizak@gmail.com for a free consultation.

Recent News

Apex v1.5.4 Released!
Added .env file, Remote Access Client, finalized PostgreSQL, and more...
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

Mailing List

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

Admin Screenshot