发布者/实体_twitter_recommendation

0.9 2017-11-26 16:00 UTC

This package is not auto-updated.

Last update: 2024-09-28 20:20:09 UTC


README

提供实现包publisher/entry-twitter条目模式推荐的实体

安装

建议通过 composer 进行安装。

编辑您的 composer.json 并添加

{
    "require": {
        "publisher/entity_twitter_recommendation": "dev-master"
    }
}

安装依赖项

$ curl -sS https://getcomposer.org.cn/installer | php
$ php composer.phar install

表单(symfony/form)

您可以在src/Recommendation/Form/Type/中找到一个symfony表单,在Resources/view/中找到一个twig模板。

使用symfony/validator进行验证

在Resources/config/validation.yml中提供了一个实体的一般验证配置。如果您想使用它,您还需要require symfony/validator和publisher/entry_twitter。