nfq/sylius-omnisend-plugin
最新稳定版本:v3.1.4
Composer 安装命令:
composer require nfq/sylius-omnisend-plugin
包简介
Omnisend plugin for Sylius.
关键字:
README 文档
README
Omnisend Plugin
Documentation
This plugin implements Omnisend API and all required tracking scripts.
- Instalation
- Configuration
- Fixtures
- Omnisend tracking scripts
- Omnisend API
- Batch commands
- Async implementation
Tests
Running plugin tests
-
PHPUnit
composer test -
Behat (non-JS scenarios)
bin/behat --strict --tags="~@javascript" -
Behat (JS scenarios)
-
Start Headless Chrome:
google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1
- Install SSL certificates (only once needed) and run test application's webserver on
127.0.0.1:8080:
wget https://get.symfony.com/cli/installer -O - | bash symfony server:ca:install APP_ENV=test symfony server:start --port=8080 --dir=tests/Application/public --daemon- Run Behat:
bin/behat --strict --tags="@javascript" -
Static Analysis
-
Psalm
bin/psalm
-
PHPStan
composer phpstan
-
Opening Sylius with your plugin
-
Using
testenvironment:(cd tests/Application && APP_ENV=test bin/console sylius:fixtures:load) (cd tests/Application && APP_ENV=test bin/console server:run -d public)
-
Using
devenvironment:(cd tests/Application && APP_ENV=dev bin/console sylius:fixtures:load) (cd tests/Application && APP_ENV=dev bin/console server:run -d public)
统计信息
- 总下载量: 11.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-12