codedor/laravel-livewire-forms 问题修复 & 功能扩展

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

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

codedor/laravel-livewire-forms

最新稳定版本:v4.0.0

Composer 安装命令:

composer require codedor/laravel-livewire-forms

包简介

Easy to build/use livewire forms.

关键字:

README 文档

README

Package to easily configure Livewire forms with a set of existing fields.

Installation

You can install the package via composer:

composer require codedor/laravel-livewire-forms

You can publish the config file with:

php artisan vendor:publish --tag="laravel-livewire-forms-config"

This is the contents of the published config file:

return [
    'defaults' => [
        'formClass' => 'd-flex flex-column gap-8',
        'rowClass' => 'row gy-8',
        'colClass' => 'col-md',
        'divClass' => 'form-group has-validation',
        'groupClass' => 'd-flex flex-column gap-8',
        'inputClass' => 'form-control',
        'inputSelectClass' => 'form-select',
        'labelClass' => 'form-label',
        'fileInputClass' => 'form-input-file',
        'fileInputLabelClass' => 'form-label-file',
        'checkInputClass' => 'form-check-input',
        'checkLabelClass' => 'form-check-label',
        'buttonClass' => 'btn btn--primary',
        'buttonIcon' => null,
        'textareaRows' => 5,
    ]
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="laravel-livewire-forms-views"

Usage

@livewire('registration-form')

Documentation

For the full documentation, check here.

Testing

vendor/bin/pest

Changelog

Please see CHANGELOG for more information on what has changed recently.

Upgrading

Please see UPGRADING for more information on how to upgrade to a new version.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-08