{"id":19904166,"url":"https://github.com/bertptrs/mako-simple-cache","last_synced_at":"2026-06-29T06:31:57.998Z","repository":{"id":56950747,"uuid":"194512709","full_name":"bertptrs/mako-simple-cache","owner":"bertptrs","description":"A cache wrapper implementing PSR 16 for the Mako Framework","archived":false,"fork":false,"pushed_at":"2019-06-30T12:24:12.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-02T21:43:33.814Z","etag":null,"topics":["mako-framework","php","psr-16"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bertptrs.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":"2019-06-30T12:20:07.000Z","updated_at":"2019-06-30T12:23:44.000Z","dependencies_parsed_at":"2022-08-21T03:40:20.060Z","dependency_job_id":null,"html_url":"https://github.com/bertptrs/mako-simple-cache","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bertptrs/mako-simple-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fmako-simple-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fmako-simple-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fmako-simple-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fmako-simple-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertptrs","download_url":"https://codeload.github.com/bertptrs/mako-simple-cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fmako-simple-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34916410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["mako-framework","php","psr-16"],"created_at":"2024-11-12T20:27:10.638Z","updated_at":"2026-06-29T06:31:57.980Z","avatar_url":"https://github.com/bertptrs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mako-simple-cache\n\nA cache wrapper implementing PSR 16 for the [Mako Framework](https://makoframework.com/).\n\n## Installation\n\nAdd `bertptrs/mako-simple-cache` to your composer dependencies and\nyou're good.\n\n## Usage\n\nYou can  use this library to create instances of a PSR 16\n`CacheInterface` from your existing Mako caches.\n\n```php\n$store = $this-\u003ecache-\u003einstance();\n\n$cache = new bertptrs\\mako\\SimpleCacheWrapper($store);\n```\n\nThen you can use that cache to your hearts content. Optionally, you can\nuse the optional second parameter of the constructor to add a prefix to\nthe keys, in order to prevent key collisions.\n\nSecondly, you can optionally add the `bertptrs\\mako\\SimpleCacheService`\nto your Mako services in `app/config/application.php`. This registers\nthe `SimpleCacheWrapper` with the dependency injection to automatically\nprovide the `CacheInterface` in dependency injections.\n\n## Limitations\n\nDue to the way the Mako cache works, you cannot store the value `false`\ndirectly, instead requiring you to wrap it in something. Secondly, since\nMako cache keys need to be strings, they need to be here as well.\n\n## License\n\nThis library is released under the GPL. If that bothers you, feel free to\ncreate an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertptrs%2Fmako-simple-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertptrs%2Fmako-simple-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertptrs%2Fmako-simple-cache/lists"}