{"id":15061826,"url":"https://github.com/tfhinc/ci-realredis","last_synced_at":"2026-01-02T15:32:17.095Z","repository":{"id":57067420,"uuid":"159959520","full_name":"TFHInc/ci-realredis","owner":"TFHInc","description":"Really Redis! - RealRedis is a wrapper library for phpredis in the Codeigniter framework","archived":false,"fork":false,"pushed_at":"2018-12-04T03:35:15.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T17:06:18.963Z","etag":null,"topics":["codeigniter-library","codeigniter3","phpredis","redis","redis-library"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TFHInc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-01T15:41:23.000Z","updated_at":"2019-07-18T19:52:47.000Z","dependencies_parsed_at":"2022-08-24T14:54:06.299Z","dependency_job_id":null,"html_url":"https://github.com/TFHInc/ci-realredis","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TFHInc%2Fci-realredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TFHInc%2Fci-realredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TFHInc%2Fci-realredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TFHInc%2Fci-realredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TFHInc","download_url":"https://codeload.github.com/TFHInc/ci-realredis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243723334,"owners_count":20337354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codeigniter-library","codeigniter3","phpredis","redis","redis-library"],"created_at":"2024-09-24T23:25:38.169Z","updated_at":"2026-01-02T15:32:17.048Z","avatar_url":"https://github.com/TFHInc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RealRedis\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![PHP Version][ico-php-version]][link-packagist]\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Total Downloads][ico-downloads]][link-downloads]\n\nReally Redis! - RealRedis is a wrapper library for phpredis in the [Codeigniter](https://codeigniter.com/) framework.\n\n## Requirements\n\n- PHP \u003e= 7.1.0\n- phpredis\n- CodeIgnitor 3.x\n\n## Installation\n\nInstall the library via composer:\n```bash\ncomposer require tfhinc/ci-realredis\n```\n\nRun the post install command to publish the helper and class files to the appropriate CI directories:\n```bash\ncomposer --working-dir=vendor/tfhinc/ci-realredis/ run-script publish-files\n```\n\n## Loading the Library\n\nThere are a few available options for loading the RealRedis library:\n\n### Using the `realredis()` helper function\n\nThe RealRedis helper function will resolve the realredis class via the CI instance. It will either load the class or return the existing class instance:\n\n``` php\n$this-\u003eload-\u003ehelper('realredis');\n```\n\n### Using the RealRedis Class\n\nThe RealRedis class can be instantiated when you require it:\n\n``` php\n$redis = new TFHInc/RealRedis/RealRedis();\n```\n\n### Using the RealRedis CI Library\n\nThe RealRedis class can be instantiated when you require it:\n\n``` php\n$this-\u003eload-\u003elibrary('RealRedis');\n```\n\n## Usage\n\n```php\n\n// Use the helper method\n\n$this-\u003eCI-\u003eload-\u003ehelper('realredis');\n\nrealredis()-\u003eget('sample.key');\n\n// Use the RealRedis class\n\n$realredis = new TFHInc\\RealRedis\\RealRedis();\n\n$realredis-\u003eget('sample.key');\n\n// Use the RealRedis CI Library\n\n$this-\u003eload-\u003elibrary('RealRedis');\n\n$realredis-\u003eget('sample.key');\n```\n\n## Contributing\n\nFeel 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.\n\n## Acknowledgements\n\n- [Colin Rafuse][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/tfhinc/ci-realredis.svg?style=flat-square\n[ico-php-version]: https://img.shields.io/packagist/php-v/tfhinc/ci-realredis.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/tfhinc/ci-realredis.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/tfhinc/ci-realredis\n[link-downloads]: https://packagist.org/packages/tfhinc/ci-realredis\n[link-author]: https://github.com/crafuse\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfhinc%2Fci-realredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfhinc%2Fci-realredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfhinc%2Fci-realredis/lists"}