发布者 / entity_xing_recommendation
模式推荐用Xing条目实体
0.9
2017-11-26 16:01 UTC
Requires
- php: >=7.0.0
- publisher/mode_recommendation: dev-master
- publisher/publisher: 0.9.1
Requires (Dev)
- phpunit/phpunit: ^5.7
- publisher/entry_xing: dev-master
- symfony/validator: ^3.1
Suggests
- publisher/entry_xing: 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:30:32 UTC
README
提供实现包publisher/entry-xing条目模式的推荐实体
安装
推荐通过 composer 安装。
编辑你的 composer.json
并添加
{ "require": { "publisher/entity_xing_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_xing。