grafite/formmaker
Composer 安装命令:
composer require grafite/formmaker
包简介
A remarkably magical form package for Laravel.
README 文档
README
Forms - An amazing Forms component for Laravel.
The Forms package lets you generate forms as well as fields with standard make commands. Inside your forms for models you can specify the fields that need to be generated and then simply pass the form to the view. No more writing html forms, error handling etc. It can handle Eloquent relationships and easily work with ajax requests for more dynamic form submissions.
Author(s):
- Matt Lantz (@mattylantz, mattlantz at gmail dot com)
Requirements
- PHP 8.2+
- OpenSSL
Compatibility and Support
| Laravel Version | Package Tag | Supported |
|---|---|---|
| ^11.x - ^12.x | 7.x | yes |
| ^7.x - 11.x | 6.x | no |
| ^7.x - ^8.x | 5.x | no |
| ^7.x - ^8.x | 4.x | no |
| ^7.x | 3.x | no |
| ^5.8.x - 7.x | 2.x | no |
| 5.4.x - 5.8.x | 1.3.x | no |
| 5.4.x | 1.1.x | no |
| 5.3.x | 1.0.x | no |
Installation
Start a new Laravel project:
composer create-project laravel/laravel your-project-name
Then run the following to add Forms
composer require "grafite/forms"
Time to publish those assets!
php artisan vendor:publish --provider="Grafite\Forms\FormsProvider"
Documentation
https://documentation.grafite.ca/docs/utilities-forms
Upgrading from 3.x to 4.x (Renaming)
The package was renamed in version 3 to 4. This means that the following would need to be changed on your code base:
form-maker.php -> forms.php
Grafite\FormMaker -> Grafite\Forms
@formMaker -> @forms
<x-fm></x-fm> -> <x-f></x-f>
<x-fm-action></x-fm-action> -> <x-f-action></x-f-action>
<x-fm-delete></x-fm-delete> -> <x-f-delete></x-f-delete>
<x-fm-search></x-fm-search> -> <x-f-search></x-f-search>
Asset Sources for CSP
js.hcaptcha.com cdn.jsdelivr.net
License
Forms is open-sourced software licensed under the MIT license
Bug Reporting and Feature Requests
Please add as many details as possible regarding submission of issues and feature requests
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
grafite/formmaker 适用场景与选型建议
grafite/formmaker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21k 次下载、GitHub Stars 达 37, 最近一次更新时间为 2018 年 03 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Forms」 「laravel」 「Laravel Forms」 「LaravelCollective HTML」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 grafite/formmaker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 grafite/formmaker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 grafite/formmaker 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
ConfirmationField is a form field for Atk14 applications. It's like the BooleanField (checkbox) but the ConfirmationField must be ticked.
A remarkably magical form package for Laravel.
Field for number with restricted count of digits and decimal places
Laravel Boilerplate based on AdminLTE 3 with blade components, user management, roles, permissions, logs viewer, ...
A remarkably magical form package for Laravel.
A handy way to generate some HTML without writing it.
统计信息
- 总下载量: 21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 37
- 点击次数: 14
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-13
