Download the PHP package tfhinc/ci-realredis without Composer
On this page you can find all versions of the php package tfhinc/ci-realredis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tfhinc/ci-realredis
More information about tfhinc/ci-realredis
Files in tfhinc/ci-realredis
Package ci-realredis
Short Description Really Redis! - RealRedis is a wrapper library for phpredis in the Codeigniter framework.
License MIT
Homepage https://github.com/TFHInc/ci-realredis
Informations about the package ci-realredis
RealRedis
Really Redis! - RealRedis is a wrapper library for phpredis in the Codeigniter framework.
Requirements
- PHP >= 7.1.0
- phpredis
- CodeIgnitor 3.x
Installation
Install the library via composer:
Run the post install command to publish the helper and class files to the appropriate CI directories:
Loading the Library
There are a few available options for loading the RealRedis library:
Using the realredis()
helper function
The RealRedis helper function will resolve the realredis class via the CI instance. It will either load the class or return the existing class instance:
Using the RealRedis Class
The RealRedis class can be instantiated when you require it:
Using the RealRedis CI Library
The RealRedis class can be instantiated when you require it:
Usage
Contributing
Feel free to create a GitHub issue or send a pull request with any bug fixes. Please see the GutHub issue tracker for isses that require help.
Acknowledgements
- Colin Rafuse
- All Contributors
License
The MIT License (MIT). Please see License File for more information.