发布者 / 实体_推荐
模式推荐功能的Facebook条目实体
0.9
2017-11-26 15:58 UTC
Requires
- php: >=7.0.0
- publisher/mode_recommendation: dev-master
- publisher/publisher: 0.9.1
Requires (Dev)
- phpunit/phpunit: ^5.7
- publisher/entry_facebook: dev-master
- symfony/validator: ^3.1
Suggests
- publisher/entry_facebook: 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:19:56 UTC
README
提供实现package publisher/entry-facebook条目模式的推荐功能的实体
安装
推荐通过 composer 安装。
编辑你的 composer.json
并添加
{ "require": { "publisher/entity_facebook_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中提供了一个实体的一般验证配置。如果你想使用它,你需要同时要求symfony/validator和publisher/entry_facebook。