c33s / form-extra-bundle
Symfony Form Extra Bundle - 开发与测试中无HTML5验证扩展
2.1.2
2022-03-22 12:47 UTC
Requires
- symfony/form: ^3.3|^4.0|^5.0
Suggests
- doctrine/orm: 2.6.*
- vich/uploader-bundle: 1.8.*
This package is auto-updated.
Last update: 2024-09-17 03:27:31 UTC
README
目前仅包含
- 来自 https://stackoverflow.com/a/33827900 的Html5 No-Validation Extension。
- 为 VichImageType 和 VichFileType 定制的 CustomTypeGuesser
- SortableEntityType
兼容性
- 分支 1.x 适用于 Symfony 2.8 - 3.2(可能连更低的 symfony 版本。尚未测试)
- 分支 2.x 适用于 Symfony >= 3.3
安装
composer require c33s/form-extra-bundle
根据您的目录结构,将以下内容添加到您的项目中Symfony3:
new C33s\Bundle\FormExtraBundle\C33sFormExtraBundle(),
添加到bundles.php
中的['dev', 'test']
部分- Symfony4:
C33s\Bundle\FormExtraBundle\C33sFormExtraBundle::class => ['dev' => true, 'test' => true],
添加到bundles.php