{"id":21277959,"url":"https://github.com/b13/cloudflare-cdn","last_synced_at":"2025-07-11T08:32:20.764Z","repository":{"id":49583568,"uuid":"517785845","full_name":"b13/cloudflare-cdn","owner":"b13","description":"Cloudflare CDN functionality for TYPO3","archived":false,"fork":false,"pushed_at":"2024-02-13T06:10:53.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-10-27T01:40:16.967Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b13.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,"governance":null}},"created_at":"2022-07-25T18:56:03.000Z","updated_at":"2023-02-14T13:32:21.000Z","dependencies_parsed_at":"2023-10-19T12:30:42.052Z","dependency_job_id":null,"html_url":"https://github.com/b13/cloudflare-cdn","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"fb3e3345ae7ce3fe7872a7466ad6a8fa712c619e"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fcloudflare-cdn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fcloudflare-cdn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fcloudflare-cdn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fcloudflare-cdn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b13","download_url":"https://codeload.github.com/b13/cloudflare-cdn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225708281,"owners_count":17511635,"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-21T10:08:25.305Z","updated_at":"2024-11-21T10:08:29.967Z","avatar_url":"https://github.com/b13.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare CDN Adapter for TYPO3\n\nWhen TYPO3 is running behind Cloudflare's CDN, this extension is a perfect companion for you.\n\n## Installation\n\nYou can install this extension by using composer:\n\n    composer req b13/cloudflare-cdn\n\n## Usage\n\nBy default, EXT:cloudflare_cdn ships with a `cdn:purge` CLI command to purge a full\nCDN zone or a specific URL within the CDN zone.\n\nIt is possible to purge a single or multiple URLs\n\n    ./vendor/bin/typo3 cdn:purge --url=https://www.exmaple.com/page1 --url=https://www.exmaple.com/page2\n\nor purge a whole CDN Zone\n\n    ./vendor/bin/typo3 cdn:purge --zone=my-zone-id\n\n## Integration into TYPO3 Backend\n\nEXT:cloudflare_cdn can be used in conjunction with TYPO3's Proxy Cache Manager Extension.\n\nUsing the Cloudflare CDN Adapter for EXT:proxycachemanager flushes page caches directly\nwhen modifying a page. This is perfect if you're dealing with Cloudflare CDN\nthat not just caches your static assets but also your pages.\n\nFor this, ensure to set the class `\\B13\\CloudflareCDN\\Provider\\CloudflareProxyProvider` in\nthe settings of EXT:proxycachemanager.\n\n## Configuration\n\nThis extension purges CDN caches via cURL requests wrapped in Guzzle's API (bundled in TYPO3).\n\nFor this, you need a Cloudflare API Token.\n\nAPI Tokens are generated from the User Profile 'API Tokens' page\n(see https://dash.cloudflare.com/profile/api-tokens)\n\nGet your Zone ID via Dash in your Zone on the right-side menu.\n\nEnsure to set the environment variable CLOUDFLARE_API_TOKEN.\n\nPlease note that the ProxyProvider needs additional configuration for each zone in\n\n    $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['cloudflare']['zones'] = [\n        'example.com' =\u003e 'ZONE_ID'\n    ];\n\nThis way, you can use multiple domains in one TYPO3 installation having CDN support.\n\n## License\n\nThe extension is licensed under GPL v2+, same as the TYPO3 Core. For details see the LICENSE file in this repository.\n\nExtension Icon courtesy of Cloudflare Inc. https://cloudflare.com\n\n## Open Issues\n\nIf you find an issue, feel free to create an issue on GitHub or a pull request.\n\n## Credits\n\nThis extension was created by [Benni Mack](https://github.com/bmack) in 2022 for [b13 GmbH](https://b13.com).\n\n[Find more TYPO3 extensions we have developed](https://b13.com/useful-typo3-extensions-from-b13-to-you) that help us\ndeliver value in client projects. As part of the way we work, we focus on testing and best practices\nto ensure long-term performance, reliability, and results in all our code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13%2Fcloudflare-cdn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb13%2Fcloudflare-cdn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13%2Fcloudflare-cdn/lists"}