i80586/laravel-form-fields
最新稳定版本:v1.1.5
Composer 安装命令:
composer require i80586/laravel-form-fields
包简介
Laravel form fields generator - for admin panels
README 文档
README
Form fields generator for Laravel
Examples:
{!! html()->input('firstName') !!}
This will be output:
<label for="firstName">FirstName</label>
<input type="text" id="firstName" class="form-control" name="firstName" value="">
You can change automatic generated label and set first default value:
{!! html()->input('firstName', 'John', ['label' => 'Your name']) !!}
This will be output:
<label for="firstName">Your name</label>
<input type="text" id="firstName" class="form-control" name="firstName" value="John">
Change input type by setting fourth argument which is set by default to text:
{!! html()->input('price', 0, [], 'number') !!}
Enjoy :)
统计信息
- 总下载量: 1.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-07