ikuzostudio/sendinblue-plugin
最新稳定版本:v1.3
Composer 安装命令:
composer require ikuzostudio/sendinblue-plugin
包简介
Sendinblue plugin for Sylius.
README 文档
README
SendInBlue Plugin
Integrate SendInBlue into Sylius.
/!\ Currently in alpha /!\
Quickstart
$ composer require ikuzostudio/sendinblue-plugin
Add plugin dependencies to your config/bundles.php file:
return [ // ... Ikuzo\SyliusSendinbluePlugin\IkuzoSyliusSendinbluePlugin::class => ['all' => true], ];
Import required config in your config/packages/_sylius.yaml file:
# config/packages/_sylius.yaml imports: ... - { resource: "@IkuzoSyliusSendinbluePlugin/Resources/config/app/config.yaml" }
Extend your Channel entity
// [...] 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; }
Update your database
$ bin/console doctrine:schema:update --force
统计信息
- 总下载量: 196
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-18
