{"id":20505016,"url":"https://github.com/gemblue/tinycache","last_synced_at":"2025-06-30T20:04:03.146Z","repository":{"id":62509688,"uuid":"257066636","full_name":"gemblue/TinyCache","owner":"gemblue","description":"Simple Cache Adapter for PHP Projects, PSR-16 Comply","archived":false,"fork":false,"pushed_at":"2022-10-04T05:21:09.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T07:56:07.745Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gemblue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-19T17:55:59.000Z","updated_at":"2021-10-10T13:54:31.000Z","dependencies_parsed_at":"2022-11-02T10:16:15.641Z","dependency_job_id":null,"html_url":"https://github.com/gemblue/TinyCache","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2FTinyCache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2FTinyCache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2FTinyCache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemblue%2FTinyCache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemblue","download_url":"https://codeload.github.com/gemblue/TinyCache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242103027,"owners_count":20072189,"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":[],"created_at":"2024-11-15T19:42:34.393Z","updated_at":"2025-03-05T20:52:10.741Z","avatar_url":"https://github.com/gemblue.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# TinyCache\n\nModern cache adapter for PHP Projects. \n\n- PHP ^7.0 Syntax\n- PSR-4\n- PSR-16\n- Factory and Adapter Pattern\n- Exception\n\n## Supported Framework\n\nThis library is PSR-4 comply. You can use it on every framework that support composer.\n\n- CodeIgniter 3/4\n- Laravel\n- Yii\n- Your framework?\n- Native PHP\n\n## Supported Drivers\n\n- Redis\n- Memcached\n- File\n- MongoDB\n\nNext plan : ApacheIgnite\n\n## Installation\n\n`composer require gemblue/tiny-cache`\n\n## Usage\n\n```php\nuse Gemblue\\TinyCache\\CacheFactory;\n\n$cacheFactory = new CacheFactory;\n$cache = $cacheFactory-\u003egetInstance([\n  'driver' =\u003e 'Memcached',\n  'host' =\u003e 'localhost',\n  'post' =\u003e 11211,\n  'persistence' =\u003e true\n]);\n```\n\nFor full example, browse example folder.\n\n## API\n\n| Method | Desc |\n--- | --- |\n| set | Set a key |\n| get | Get a key |\n| delete | Delete a key |\n| clear | Wipe all key |\n| has | Check key existance |\n| setMultiple | Set multiple key |\n| getMultiple | Get multiple key |\n| deleteMultiple | Delete multiple key |\n\n## Delete by Prefix\n\nTo delete caches with any prefix, just call like this:\n\n```php\n$cache-\u003edelete('prefix_*');\n```\n\n## Developed By\n\n- @gemblue\n- @yllumi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemblue%2Ftinycache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemblue%2Ftinycache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemblue%2Ftinycache/lists"}