laraflow/form
Composer 安装命令:
composer require laraflow/form
包简介
Laravel form builder library based bootstrap form components
README 文档
README
Introduction
laraflow/form is a collection of Laravel form components.
Roadmap
| Feature | Status |
|---|---|
| Boostrap4 Regular | Complated |
| Boostrap4 Horizontal | Complated |
| Boostrap5 Regular | Complated |
| Boostrap5 Horizontal | Complated |
| TailwindCSS Regular | WIP |
| TailwindCSS Horizontal | WIP |
| Blade X Component | Todo |
Features
This package has basic form element style that is supported by bootstrap. Some basic form styles are given below:
- Normal
- Icon Input Grouped
- Horizontal Columned
- Inline Elements
Installation
To get start using this package follow these instructions. You can install the package via composer:
composer require laraflow/form
You need to publish the config file with:
php artisan vendor:publish --tag="form-config"
This is the contents of the published config file:
return [ /** * Form style validation and other component will * be selected form this section * @var string style * @value bootstrap4, bootstrap5 */ 'style' => 'bootstrap4', /** * Form local language for field that support localization * * @reference month, day etc * @var string style * @value bootstrap3, bootstrap4, bootstrap5 */ 'locale' => 'en', /** * Form month values what value and label month dropdown * will have * * @var array month */ 'months' => [ "1" => "January", "2" => "February", "3" => "March", "4" => "April", "5" => "May", "6" => "June", "7" => "July", "8" => "August", "9" => "September", "10" => "October", "11" => "November", "12" => "December" ], /** * Form day values what value and label day dropdown * will have * @var array month */ 'days' => [ "1" => "Saturday", "2" => "Sunday", "3" => "Monday", "4" => "Tuesday", "5" => "Wednesday", "6" => "Thursday", "7" => "Friday" ], ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="form-views"
Done. Now you can fully utilize every form elements from these package
Contributing
Thank you for considering contributing to the Form! The contribution guide can be found in the Form Wiki.
Security Vulnerabilities
If you discover a security vulnerability within Form Package, please send an e-mail to Mohammad Hafijul Islam via laraflow@gmail.com. All security vulnerabilities will be promptly addressed.
License
The Form is open-sourced software licensed under the MIT license.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
Spacial Thanks to For Awesome IDE support.
License
The MIT License (MIT). Please see License File for more information.
laraflow/form 适用场景与选型建议
laraflow/form 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 865 次下载、GitHub Stars 达 16, 最近一次更新时间为 2022 年 10 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「form」 「bootstrap」 「components」 「laravel」 「php-form」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 laraflow/form 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laraflow/form 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 laraflow/form 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Diese Contao 4 Erweiterung stellt Google reCAPTCHA V2 in Form eines neuen Formularfeldes im Formulargenerator bereit. This extension provides Google reCAPTCHA V2 in the form of a new form field in the form generator of Contao Open Source CMS.
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
A Laravel Filament Forms slug field.
A jQuery augmented PHP library for creating and validating HTML forms
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 865
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 25
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-02