cloudflare / cloudflare-magento
Cloudflare Plugin for Magento2
Installs: 70 708
Dependents: 0
Suggesters: 0
Security: 0
Stars: 50
Watchers: 20
Forks: 17
Open Issues: 14
Type:magento2-module
Requires
- php: ~5.6.0|~7.0
- cloudflare/cloudflare-plugin-backend: ^2.1
Requires (Dev)
- magento/framework: 100.1.*
- magento/module-backend: 100.1.*
- magento/module-store: 100.1.*
- phpunit/phpunit: 4.1.0
- squizlabs/php_codesniffer: ^2.8
This package is not auto-updated.
Last update: 2024-11-13 00:26:36 UTC
README
For information regarding using Magento & Cloudflare, please see this support article.
Installing the Cloudflare Magento2 extension
From the magento2 root directory run the following commands:
composer require cloudflare/cloudflare-magento
composer update
bin/magento setup:upgrade
bin/magento setup:di:compile
Versions of Magento2 supported
- Up to Magento2 CE 2.2.0
Development
You'll need to get authorization keys from the Magento marketplace and make an auth.json
:
{
"http-basic": {
"repo.magento.com": {
"username": "[MAGENTO USERNAME]",
"password": "[MAGENTO PASSWORD]"
}
}
}
This will allow composer install
to authenticate against repo.magento.com/
.
Development Commands
composer test
composer lint
composer format
Tests
vendor/phpunit/phpunit/phpunit -c dev/tests/unit/phpunit.xml.dist vendor/cloudflare/cloudflare-magento/Test/Unit/