viethan/lform

可重用表单元素

dev-master 2019-10-24 07:57 UTC

This package is auto-updated.

Last update: 2024-09-24 19:14:06 UTC


README

这是一个使用 acacha 的 adminlte 库预先编写的表单元素。

如何安装

步骤 1: 安装

composer require vietanh/lform

步骤 2: 添加服务提供者

在 config/app.php 中,向提供者添加以下行

VietAnh\LForm\LFormServiceProvider::class

步骤 3: 发布

php artisan vendor:publish --tag=lform

步骤 4: 使用

{!! Form::lbText("text-input-name", "value in text input name", "Label of text input") !!}