libressltd / lbform
可重用的表单元素
0.9.1.1
2017-09-25 18:17 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-14 19:14:50 UTC
README
这是一个使用acacha的adminlte库预先编写的表单元素。
如何安装
步骤 1:安装
composer require libressltd/lbform
步骤 2:添加服务提供者
在config/app.php中,向提供者添加以下行
LIBRESSLtd\LBForm\LBFormServiceProvider::class,
步骤 3:发布
php artisan vendor:publish --tag=lbform
步骤 4:使用
{!! Form::lbText("text-input-name", "value in text input name", "Label of text input") !!}
可选:使用datatable特性
use LIBRESSLtd\LBForm\Traits\LBDatatableTrait; use LBDatatableTrait;