Type
magento2-module
Cloudflare Plugin for Magento2
magento2-module
BSD-3
None
None
None
None
None
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
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/
.
composer test
composer lint
composer format
vendor/phpunit/phpunit/phpunit -c dev/tests/unit/phpunit.xml.dist vendor/cloudflare/cloudflare-magento/Test/Unit/