sclaravel/laravel-form-components 问题修复 & 功能扩展

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

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

sclaravel/laravel-form-components

最新稳定版本:1.1.5

Composer 安装命令:

composer require sclaravel/laravel-form-components

包简介

Blade components to rapidly build forms with Bootstrap.

README 文档

README

Use Blade components to build forms with Bootstrap.

Requirements

  • PHP 8.1+ or higher
  • Laravel 8.0 or 9.0

Installation

You can install the package via composer:

composer sclaravel/laravel-form-components

Publish the configuration file and Blade views with the following command:

php artisan vendor:publish --provider="TysonLaravel\FormComponents\FormComponentServiceProvider"

Quick example

<x-form::open :action="route(STORE_PRODUCT)">
    <!-- Input only --->
    <x-form::input name="name" :value="old('name')" required/>

    <!-- With group & label --->
    <x-form::group :label="trans('product.code')">
        <x-form::input name="code" :value="old('code')"/>
    </x-form::group>
    
    <!-- Group configs--->
    <x-form::group label="&nbsp;" class="col" label-class="w-100">
      <button type="submit" class="btn btn-danger">Submit</button>
    </x-form::group>
</x-form::open>

Usage

统计信息

  • 总下载量: 132
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-23