ikuzostudio / sendinblue-plugin
适用于Sylius的Sendinblue插件。
v1.3
2022-08-31 13:28 UTC
Requires
- php: ^8.0
- sylius/sylius: ^1.11
Requires (Dev)
- behat/behat: ^3.6.1
- behat/mink-selenium2-driver: ^1.4
- dmore/behat-chrome-extension: ^1.3
- dmore/chrome-mink-driver: ^2.7
- friends-of-behat/mink: ^1.8
- friends-of-behat/mink-browserkit-driver: ^1.4
- friends-of-behat/mink-debug-extension: ^2.0.0
- friends-of-behat/mink-extension: ^2.4
- friends-of-behat/page-object-extension: ^0.3
- friends-of-behat/suite-settings-extension: ^1.0
- friends-of-behat/symfony-extension: ^2.1
- friends-of-behat/variadic-extension: ^1.3
- friendsofsymfony/oauth-server-bundle: ^1.6 || >2.0.0-alpha.0 ^2.0@dev
- phpspec/phpspec: ^7.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: 0.12.99
- phpstan/phpstan-doctrine: 0.12.33
- phpstan/phpstan-strict-rules: ^0.12.0
- phpstan/phpstan-webmozart-assert: 0.12.12
- phpunit/phpunit: ^9.5
- polishsymfonycommunity/symfony-mocker-container: ^1.0
- sensiolabs/security-checker: ^6.0
- sylius-labs/coding-standard: ^4.0
- symfony/browser-kit: ^5.4
- symfony/debug-bundle: ^5.4
- symfony/dotenv: ^5.4
- symfony/intl: ^5.4
- symfony/web-profiler-bundle: ^5.4
- vimeo/psalm: 4.7.1
This package is auto-updated.
Last update: 2024-09-10 14:45:32 UTC
README
SendInBlue插件
将SendInBlue集成到Sylius中。
/!\ 目前处于alpha阶段 /!\
快速入门
$ composer require ikuzostudio/sendinblue-plugin
将插件依赖项添加到您的 config/bundles.php
文件中
return [ // ... Ikuzo\SyliusSendinbluePlugin\IkuzoSyliusSendinbluePlugin::class => ['all' => true], ];
在您的 config/packages/_sylius.yaml
文件中导入所需配置
# config/packages/_sylius.yaml imports: ... - { resource: "@IkuzoSyliusSendinbluePlugin/Resources/config/app/config.yaml" }
扩展您的Channel实体
// [...] use Sylius\Component\Core\Model\Channel as BaseChannel; use Ikuzo\SyliusSendinbluePlugin\Model\SendinblueChannelInterface; use Ikuzo\SyliusSendinbluePlugin\Model\SendinblueChannelTrait; /** * @ORM\Table(name="sylius_channel") * @ORM\Entity() */ class Channel extends BaseChannel implements SendinblueChannelInterface { use SendinblueChannelTrait; }
更新您的数据库
$ bin/console doctrine:schema:update --force