{"id":18654791,"url":"https://github.com/wieni/wmcontroller_flysystem","last_synced_at":"2025-08-01T07:09:15.509Z","repository":{"id":57080580,"uuid":"172059613","full_name":"wieni/wmcontroller_flysystem","owner":"wieni","description":"A Flysystem storage for wieni/wmcontroller","archived":false,"fork":false,"pushed_at":"2022-06-30T11:13:38.000Z","size":11,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-28T15:15:37.050Z","etag":null,"topics":["drupal-8","drupal-module","drupal8-module","flysystem","wmcontroller","wmcontroller-storage"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wieni.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-02-22T12:04:56.000Z","updated_at":"2022-06-30T11:13:37.000Z","dependencies_parsed_at":"2022-08-24T14:57:37.457Z","dependency_job_id":null,"html_url":"https://github.com/wieni/wmcontroller_flysystem","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wieni%2Fwmcontroller_flysystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wieni%2Fwmcontroller_flysystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wieni%2Fwmcontroller_flysystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wieni%2Fwmcontroller_flysystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wieni","download_url":"https://codeload.github.com/wieni/wmcontroller_flysystem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239467450,"owners_count":19643605,"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":["drupal-8","drupal-module","drupal8-module","flysystem","wmcontroller","wmcontroller-storage"],"created_at":"2024-11-07T07:16:36.959Z","updated_at":"2025-02-18T11:50:52.985Z","avatar_url":"https://github.com/wieni.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"wmcontroller_flysystem\n======================\n\n[![Latest Stable Version](https://poser.pugx.org/wieni/wmcontroller_flysystem/v/stable)](https://packagist.org/packages/wieni/wmcontroller_flysystem)\n[![Total Downloads](https://poser.pugx.org/wieni/wmcontroller_flysystem/downloads)](https://packagist.org/packages/wieni/wmcontroller_flysystem)\n[![License](https://poser.pugx.org/wieni/wmcontroller_flysystem/license)](https://packagist.org/packages/wieni/wmcontroller_flysystem)\n\n\u003e A [Flysystem](https://flysystem.thephpleague.com) cache storage for [wieni/wmcontroller](https://github.com/wieni/wmcontroller)\n\n## Installation\n\nThis package requires PHP 8.0 and Drupal 9 or higher. It can be\ninstalled using Composer:\n\n```bash\n composer require wieni/wmcontroller_flysystem\n```\n\nTo enable this cache storage, change the following container parameters:\n```yaml\nparameters:\n    wmcontroller.cache.storage: wmcontroller.cache.storage.flysystem\n\n    # Backend storage responsible for keeping track of tags and cache entries\n    wmcontroller.cache.flysystem.backend.storage: wmcontroller.cache.storage.mysql\n\n    wmcontroller.cache.flysystem.scheme: wmcontrollerscheme\n    wmcontroller.cache.flysystem.directory: wmcontroller\n```\n\nMake sure to also set the flysystem scheme in `settings.php`.\n\n```php\n// settings.php\n\n$settings['flysystem'] = [\n    'wmcontrollerscheme' =\u003e [\n        'driver' =\u003e 'local',\n        'config' =\u003e [\n            'root' =\u003e 'sites/default/cache',\n            'public' =\u003e false,\n        ],\n        'serve_js' =\u003e true,\n        'serve_css' =\u003e true,\n    ],\n];\n\n// Or if you want to store your cache on S3\n// This requires the drupal/flysystem_s3 module\n$settings['flysystem'] = [\n    'wmcontrollerscheme' =\u003e [\n        'driver' =\u003e 's3',\n        'config' =\u003e [\n            'key' =\u003e $_ENV['S3_KEY'],\n            'secret' =\u003e $_ENV['S3_SECRET'],\n            'region' =\u003e $_ENV['S3_REGION'],\n            'bucket' =\u003e $_ENV['S3_BUCKET'],\n            'prefix' =\u003e $_ENV['S3_PREFIX'] ?? '',\n            'cname' =\u003e $_ENV['S3_CNAME'] ?? '',\n            'options' =\u003e [\n                'ACL' =\u003e 'private',\n            ],\n            'protocol' =\u003e 'https',\n            'public' =\u003e false,\n        ],\n        'cache' =\u003e false,\n        'serve_js' =\u003e false,\n        'serve_css' =\u003e false,\n    ],\n];\n```\n\n## Changelog\nAll notable changes to this project will be documented in the\n[CHANGELOG](CHANGELOG.md) file.\n\n## Security\nIf you discover any security-related issues, please email\n[security@wieni.be](mailto:security@wieni.be) instead of using the issue\ntracker.\n\n## License\nDistributed under the MIT License. See the [LICENSE](LICENSE) file\nfor more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwieni%2Fwmcontroller_flysystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwieni%2Fwmcontroller_flysystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwieni%2Fwmcontroller_flysystem/lists"}