setono / sylius-trustpilot-plugin
Sylius 的 Trustpilot 插件。
v2.0.0-alpha.4
2022-09-05 10:38 UTC
Requires
- php: >=7.4
- ext-json: *
- doctrine/orm: ^2.13
- doctrine/persistence: ^2.5
- knplabs/knp-menu: ^3.3
- psr/log: ^1.1 || ^2.0 || ^3.0
- setono/doctrine-object-manager-trait: ^1.1
- sylius/resource-bundle: ^1.8
- symfony/config: ^4.4 || ^5.4 || ^6.0
- symfony/console: ^4.4 || ^5.4 || ^6.0
- symfony/dependency-injection: ^4.4 || ^5.4 || ^6.0
- symfony/form: ^4.4 || ^5.4 || ^6.0
- symfony/http-foundation: ^4.4 || ^5.4 || ^6.0
- symfony/messenger: ^4.4 || ^5.4 || ^6.0
- symfony/options-resolver: ^4.4 || ^5.4 || ^6.0
- symfony/routing: ^4.4 || ^5.4 || ^6.0
- symfony/translation-contracts: ^2.5 || ^3.1
- symfony/workflow: ^4.4 || ^5.4 || ^6.0
- twig/twig: ^2.15
- webmozart/assert: ^1.11
Requires (Dev)
- api-platform/core: ^2.6
- friendsofsymfony/oauth-server-bundle: >2.0.0-alpha.0 ^2.0@dev
- lexik/jwt-authentication-bundle: ^2.16
- phpspec/phpspec: ^7.2
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9.5
- polishsymfonycommunity/symfony-mocker-container: ^1.0
- psalm/plugin-phpunit: ^0.17
- psalm/plugin-symfony: ^3.1
- roave/security-advisories: dev-latest
- setono/code-quality-pack: ^2.2.1
- sylius/admin-api-bundle: ^1.11
- sylius/sylius: ~1.10.14
- symfony/debug-bundle: ^4.4 || ^5.4 || ^6.0
- symfony/dotenv: ^4.4 || ^5.4 || ^6.0
- symfony/intl: ^4.4 || ^5.4 || ^6.0
- symfony/property-info: ^4.4 || ^5.4 || ^6.0
- symfony/serializer: ^4.4 || ^5.4 || ^6.0
- symfony/web-profiler-bundle: ^4.4 || ^5.4 || ^6.0
- symfony/webpack-encore-bundle: ^1.15
This package is auto-updated.
Last update: 2024-09-22 09:28:50 UTC
README
向您的客户发送审查邀请,以吸引他们为您留下反馈。该插件使用 Trustpilot 的 AFS 服务。
安装
$ composer require setono/sylius-trustpilot-plugin
将包添加到 config/bundles.php
<?php // config/bundles.php return [ // ... Setono\SyliusTrustpilotPlugin\SetonoSyliusTrustpilotPlugin::class => ['all' => true], ];
配置插件
# config/packages/setono_sylius_trustpilot.yaml imports: - { resource: "@SetonoSyliusTrustpilotPlugin/Resources/config/app/config.yaml" }
配置路由
# config/routes/setono_sylius_trustpilot.yaml setono_sylius_trustpilot: resource: "@SetonoSyliusTrustpilotPlugin/Resources/config/routes.yaml"
安装资源
bin/console assets:install
更新您的模式
# Generate and edit migration bin/console doctrine:migrations:diff # Then apply migration bin/console doctrine:migrations:migrate
添加 cron 作业
以下命令应定期运行
bin/console setono:sylius-trustpilot:process