tfarias / instalador-tfarias-lte
基于admin-lte模板的代码安装器
dev-develop
2022-01-31 18:31 UTC
Requires
- kris/laravel-form-builder: ^1
- laracasts/flash: ^3
- laravel/framework: ~7.0|^8.0
- patricktalmadge/bootstrapper: ^5
- prettus/l5-repository: ^2
This package is auto-updated.
Last update: 2024-09-29 05:56:30 UTC
README
使用方法
- 在require之后
# Após isso rodar o comando $ php artisan vendor:publish --force ecolhe o provider: "Tfarias\InstaladorTfariasLte\TfariasInstaladorLteServiceProvider" # adicionar no config/app.php # App\Providers\RepositoryServiceProvider::class,
*注意
要执行命令,首先您必须运行迁移
$ php artisan create-lte
过滤器
# Para os campos que deseja ter os filtros basta adicionar um comment na migration exemplo Schema::create('tipo', function (Blueprint $table) { $table->uuid('id')->primary()->unique(); $table->string('descricao')->comment('filter'); $table->timestamps(); }); na migration acima a coluna descricao vai constar nos filtros
许可证
此安装器是一个开源项目。MIT许可证。