shopsys/form-types-bundle
Composer 安装命令:
composer require shopsys/form-types-bundle
包简介
Shopsys Platform custom Symfony form types
README 文档
README
Symfony bundle adding form types for usage in Shopsys Platform, its components and plugins.
This repository is maintained by shopsys/shopsys monorepo, information about changes is in its CHANGELOG file.
Installation
The plugin is a Symfony bundle and is installed in the same way:
Download
First, you download the package using Composer:
composer require shopsys/form-types
How to use a custom form type
The form types in this package are regular Symfony form types. See Symfony Forms Documentation for detailed explanation.
Contents
MultidomainType
Compound type that renders one form of given type for each domain.
It can be configured via the following options:
entry_type- The type of the inner form. Defaults toTextType::class.entry_options- The options of the inner forms. Defaults to[].options_by_domain_id- The options of the inner forms based on the domain ID. Provide arrays indexed by the domain ID, values are merged with theentry_options. Defaults to[].
The data of the inner forms are returned as an array indexed by the domain ID.
YesNoType
Natural looking choice type for boolean value inputs.
It has no notable options.
A boolean value is accepted/returned as data. A null value can be accepted/returned when no radio button is checked.
Contributing
Thank you for your contributions to Shopsys Form Types Bundle package. Together we are making Shopsys Platform better.
This repository is READ-ONLY. If you want to report issues and/or send pull requests, please use the main Shopsys repository.
Please check our Contribution Guide before contributing.
Support
What to do when you are in troubles or need some help? The best way is to join our Slack.
If you want to report issues, please use the main Shopsys repository.
shopsys/form-types-bundle 适用场景与选型建议
shopsys/form-types-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 255.28k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 08 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「form」 「Form Type」 「SSFW」 「Shopsys Platform」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 shopsys/form-types-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 shopsys/form-types-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 shopsys/form-types-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Shopsys Platform Google Cloud Bundle
A bundle providing fields for image upload with jquery upload and image cropping with jcrop for symfony2
[experimental] Read model layer for Shopsys Framework
Shopsys Framework plugin interface for product feed generation
A simple Symfony bundle that adds boolean form field type.
Shopsys Platform plugin interface for Luigi's Box XML product feed generation
统计信息
- 总下载量: 255.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 23
- 依赖项目数: 21
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-17

