i80586/laravel-form-fields 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Version Build Status

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-07