{"id":21911929,"url":"https://github.com/tinect/flysystem-garbage","last_synced_at":"2026-01-29T17:34:04.283Z","repository":{"id":193057065,"uuid":"687741653","full_name":"tinect/flysystem-garbage","owner":"tinect","description":"Flysystem Adapter Decorator for using garbage folder.","archived":false,"fork":false,"pushed_at":"2024-12-03T11:12:23.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T04:51:20.574Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinect.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,"governance":null}},"created_at":"2023-09-05T23:11:31.000Z","updated_at":"2024-12-03T11:12:26.000Z","dependencies_parsed_at":"2023-09-06T15:47:41.486Z","dependency_job_id":"7a42dc04-bdba-4ae8-bea9-1b52b0784b04","html_url":"https://github.com/tinect/flysystem-garbage","commit_stats":null,"previous_names":["tinect/flysystem-garbage"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinect%2Fflysystem-garbage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinect%2Fflysystem-garbage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinect%2Fflysystem-garbage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinect%2Fflysystem-garbage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinect","download_url":"https://codeload.github.com/tinect/flysystem-garbage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249195543,"owners_count":21228228,"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-28T18:08:03.871Z","updated_at":"2026-01-29T17:33:59.262Z","avatar_url":"https://github.com/tinect.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![codecov](https://codecov.io/gh/tinect/flysystem-garbage/graph/badge.svg?token=13DNLI45DD)](https://codecov.io/gh/tinect/flysystem-garbage)\n[![Mutation Score Indicator](https://img.shields.io/badge/Mutation%20Score%20Indicator-100%25-green)](https://codecov.io/gh/tinect/flysystem-garbage)\n\nThis is a [Flysystem](https://github.com/thephpleague/flysystem) Adapter to move files into garbage folder when specific actions are taken\n\n## Installation\n```\ncomposer require tinect/flysystem-garbage\n```\n\n## Usage example\n```php\n\u003c?php\ndeclare(strict_types=1);\n\nuse League\\Flysystem\\Filesystem;\nuse League\\Flysystem\\Config;\nuse League\\Flysystem\\Local\\LocalFilesystemAdapter;\nuse Tinect\\Flysystem\\Garbage\\GarbageAdapter;\n\n//Initialize your adapter\n$adapter = new LocalFilesystemAdapter(\n    '/my/path/'\n);\n\n//Put your adapter into the garbageAdapter\n$adapter = new GarbageAdapter(\n    $adapter\n);\n\n//Perform your actions as usual\n$adapter-\u003ewrite('test.txt', 'content', new Config());\n$adapter-\u003edelete('test.txt');\n\n//see directory \"garbage\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinect%2Fflysystem-garbage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinect%2Fflysystem-garbage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinect%2Fflysystem-garbage/lists"}