{"id":18310313,"url":"https://github.com/torann/taggable-file-cache","last_synced_at":"2025-04-05T17:33:28.751Z","repository":{"id":57071911,"uuid":"121769282","full_name":"Torann/taggable-file-cache","owner":"Torann","description":"A Laravel file cache driver that supports tagging","archived":false,"fork":false,"pushed_at":"2018-02-16T16:01:29.000Z","size":5,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T08:34:52.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torann.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":"2018-02-16T15:55:32.000Z","updated_at":"2018-12-08T17:10:50.000Z","dependencies_parsed_at":"2022-08-24T10:40:54.685Z","dependency_job_id":null,"html_url":"https://github.com/Torann/taggable-file-cache","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Ftaggable-file-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Ftaggable-file-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Ftaggable-file-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Ftaggable-file-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torann","download_url":"https://codeload.github.com/Torann/taggable-file-cache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247375985,"owners_count":20929163,"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-05T16:14:04.168Z","updated_at":"2025-04-05T17:33:23.737Z","avatar_url":"https://github.com/Torann.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Taggable File Cache\n\n[![Latest Stable Version](https://poser.pugx.org/torann/taggable-file-cache/v/stable.png)](https://packagist.org/packages/torann/taggable-file-cache) [![Total Downloads](https://poser.pugx.org/torann/taggable-file-cache/downloads.png)](https://packagist.org/packages/torann/taggable-file-cache)\n\nA Laravel file [cache driver](https://laravel.com/docs/cache#adding-custom-cache-drivers) that supports tagging.\n\n- [Taggable File Cache on Packagist](https://packagist.org/packages/torann/taggable-file-cache)\n- [Taggable File Cache on GitHub](https://github.com/torann/taggable-file-cache)\n\n## Installation\n\n### Composer\n\nFrom the command line run:\n\n```\n$ composer require torann/taggable-file-cache\n```\n\n### The Service Provider\n\nOpen up `config/app.php` and find the `providers` key.\n\n```php\n'providers' =\u003e [\n\n    \\Torann\\TaggableFileCache\\TaggableFileCacheServiceProvider::class,\n\n]\n```\n\n### Configuration\n\nIn your `config\\cache.php`, create a new store:\n\n```\n'tagged_file' =\u003e [\n    'driver' =\u003e 'tagged_file',\n    'path' =\u003e storage_path('framework/cache'),\n]\n```\n\n**Optional Configuration**\n\n- `queue`: accepts the string name of a queue to use during [garbage collection](#garbage-collection), will use the default queue if omitted.\n- `separator`: defines the separator character or sequence to be used internally, this should be chosen to **never** collide with a key value (default `~#~`)\n\n## Garbage Collection\n\nTo offset the work of cleaning up cache entries when a tag is flushed this task is added as a Job\nand queued using laravel's inbuilt [queueing](https://laravel.com/docs/queues).\n\n\u003e **Note:** laravel's default queue driver is `sync` which will result in the job being executed synchronously,\nit is strongly advised you use an alternate queue driver with appropriate workers to offset this work\nif you wish to use this cache driver.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorann%2Ftaggable-file-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorann%2Ftaggable-file-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorann%2Ftaggable-file-cache/lists"}