{"id":24516023,"url":"https://github.com/damalis/redis-cache-for-php-framework","last_synced_at":"2026-01-11T10:54:03.534Z","repository":{"id":62827197,"uuid":"562761219","full_name":"damalis/redis-cache-for-php-framework","owner":"damalis","description":"Redis cache for php framework","archived":false,"fork":false,"pushed_at":"2023-02-01T12:35:14.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T01:22:36.511Z","etag":null,"topics":["cache","fat-free-framework","framework","fuel","fuelphp","php","redis","slim-framework"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/damalis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-07T07:50:26.000Z","updated_at":"2023-02-01T12:33:50.000Z","dependencies_parsed_at":"2023-02-17T05:30:47.916Z","dependency_job_id":null,"html_url":"https://github.com/damalis/redis-cache-for-php-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damalis%2Fredis-cache-for-php-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damalis%2Fredis-cache-for-php-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damalis%2Fredis-cache-for-php-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damalis%2Fredis-cache-for-php-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damalis","download_url":"https://codeload.github.com/damalis/redis-cache-for-php-framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719373,"owners_count":20336596,"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":["cache","fat-free-framework","framework","fuel","fuelphp","php","redis","slim-framework"],"created_at":"2025-01-22T01:20:36.277Z","updated_at":"2026-01-11T10:54:03.527Z","avatar_url":"https://github.com/damalis.png","language":"PHP","readme":"# RedisCache\n\nRedis cache for php framework.\n\n## Installation\n\ncomposer require damalis/redis-cache-for-php-framework\n\n## Usage\n\nCache every successful HTTP response for 24 hours in the local Redis server.\n\nExample:\n\nslim framework;\n\n```\nuse Slim\\Factory\\AppFactory;\nuse Slim\\Factory\\ServerRequestCreatorFactory;\n\nrequire __DIR__ . '/../vendor/autoload.php';\n\n$app = AppFactory::create();\n\n//...\n\n// Create Request object from globals\n$serverRequestCreator = ServerRequestCreatorFactory::create();\n$request = $serverRequestCreator-\u003ecreateServerRequestFromGlobals();\n\n$client = new \\Predis\\Client('tcp://localhost:6379', [\n\t'prefix' =\u003e $request-\u003egetUri()-\u003egetHost()\n]);\n\n$app-\u003eadd(new \\damalis\\RedisCache\\Cache($client, [\n\t'timeout' =\u003e 86400\n]));\n\n// ...\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamalis%2Fredis-cache-for-php-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamalis%2Fredis-cache-for-php-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamalis%2Fredis-cache-for-php-framework/lists"}