{"id":21440903,"url":"https://github.com/pixel-open/prestashop-cloudflare","last_synced_at":"2025-07-14T16:31:54.313Z","repository":{"id":149504647,"uuid":"603019826","full_name":"Pixel-Open/prestashop-cloudflare","owner":"Pixel-Open","description":"Cloudflare API features in Prestashop","archived":false,"fork":false,"pushed_at":"2024-02-02T13:36:40.000Z","size":53,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-02T14:51:21.456Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pixel-Open.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null}},"created_at":"2023-02-17T12:59:51.000Z","updated_at":"2023-03-29T10:54:50.000Z","dependencies_parsed_at":"2023-12-13T22:44:42.173Z","dependency_job_id":"511602f1-c240-4e7b-a842-5a7c41ce6714","html_url":"https://github.com/Pixel-Open/prestashop-cloudflare","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixel-Open%2Fprestashop-cloudflare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixel-Open%2Fprestashop-cloudflare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixel-Open%2Fprestashop-cloudflare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixel-Open%2Fprestashop-cloudflare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pixel-Open","download_url":"https://codeload.github.com/Pixel-Open/prestashop-cloudflare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225986914,"owners_count":17555695,"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-23T01:19:25.507Z","updated_at":"2025-07-14T16:31:54.300Z","avatar_url":"https://github.com/Pixel-Open.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prestashop Cloudflare\n\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.2-green)](https://php.net/)\n[![Minimum Prestashop Version](https://img.shields.io/badge/prestashop-%3E%3D%201.7.6.0-green)](https://www.prestashop.com)\n[![GitHub release](https://img.shields.io/github/v/release/Pixel-Open/prestashop-cloudflare)](https://github.com/Pixel-Open/prestashop-cloudflare/releases)\n\n## Presentation\n\nCloudflare API features in Prestashop:\n\n- Clear Cloudflare Cache in the Prestashop admin\n\n![Flush Cloudflare Cache](screenshot.png)\n\n## Requirements\n\n- Prestashop \u003e= 1.7.6.0\n- PHP \u003e= 7.2.0\n\n## Installation\n\nDownload the **pixel_cloudflare.zip** file from the [last release](https://github.com/Pixel-Open/prestashop-cloudflare/releases/latest) assets.\n\n### Admin\n\nGo to the admin module catalog section and click **Upload a module**. Select the downloaded zip file.\n\n### Manually\n\nMove the downloaded file in the Prestashop **modules** directory and unzip the archive. Go to the admin module catalog section and search for \"Cloudflare\".\n\n## Configuration\n\nFrom the module manager, find the module and click on configure.\n\n| Field                | Description                                                                            | Required |\n|:---------------------|:---------------------------------------------------------------------------------------|----------|\n| Zone ID              | The website Zone ID                                                                    | Y        |\n| Authentication mode  | The authentication mode: API Token or Global API key                                   | Y        |\n| API Token *          | A valid token from your Cloudflare Account with permission on \"Cache Purge\" for \"Zone\" | Y        |\n| Global API Key       | The Cloudflare Global API key                                                          | Y        |\n| Account Email        | Email address associated with your Cloudflare account                                  | Y        |\n\n\\* For an API Token authentication (more secure), create a new custom API token with permissions on:\n\n- Zone - Cache Purge - Purge\n- Zone - Zone Settings - Edit\n- Zone - Zone Settings - Read\n\n![Flush Cloudflare Cache](token.png)\n\n## Clear the cache\n\nIn admin, go to *Advanced settings \u003e Performance*\n\n- Clear only Cloudflare cache with the button: **Clear Cloudflare Cache**\n- Clear prestashop and Cloudflare cache with the button: **Clear cache**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixel-open%2Fprestashop-cloudflare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixel-open%2Fprestashop-cloudflare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixel-open%2Fprestashop-cloudflare/lists"}