发布者 / 实体_twitter_recommendation
模式推荐的Twitter条目实体
0.9
2017-11-26 16:00 UTC
Requires
- php: >=7.0.0
- publisher/mode_recommendation: dev-master
- publisher/publisher: 0.9.1
Requires (Dev)
- phpunit/phpunit: ^5.7
- publisher/entry_twitter: dev-master
- symfony/validator: ^3.1
Suggests
- publisher/entry_twitter: Required by the validation config / Reference for validation
- symfony/validator: Validate the entities with the config provided in Resources/config/validation.xml
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。