-
composer require setono/sylius-quickpay-refund-bridge-plugin:dev-master -
Import plugin's routes after the routes of Sylius Refund Plugin
setono_sylius_quickpay_refund_bridge:
resource: "@SetonoSyliusQuickpayRefundBridgePlugin/Resources/config/routes.yaml"
-
Run
composer create-project setono/sylius-quickpay-refund-bridge-plugin:dev-master setono-sylius-quickpay-refund. -
From the plugin root directory, run the following commands:
(cd tests/Application && yarn install) (cd tests/Application && yarn build) (cd tests/Application && bin/console assets:install) (cd tests/Application && bin/console doctrine:database:create) (cd tests/Application && bin/console doctrine:schema:create) (cd tests/Application && bin/console sylius:fixtures:load -n)
-
Start your local PHP server (see docs):
(cd tests/Application && symfony serve)
To be able to setup a plugin's database, remember to configure you database credentials in tests/Application/.env and tests/Application/.env.test.