PHP Stream Wrapper to use Redis as a File System.
Allows you to use PHP native functions (file_put_contents, file_get_contents, fopen, fwrite, etc) on Redis context.
This project can be usefull if you are using Redis as "File System"
Redis Example:
SET /path/to/file "content"
GET /path/to/file
PHP Example:
file_put_contents('redis:///path/to/file', 'content');
$fileContent = file_get_contents('redis:///path/to/file');
This code is using 127.0.0.1:6379
as string connection for Redis
\VRS\Redis\Factory::getInstance()->capture();
After this, you can use the PHP Example above for testing.