radiocubito / laravel-blade-input
此包已被弃用且不再维护。没有建议的替代包。
使用 Tailwind CSS 开发的 Laravel blade 输入组件
1.0.0
2020-06-24 23:15 UTC
Requires
- php: ^7.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- nunomaduro/collision: ^4.1
- orchestra/testbench: ^5.3
- phpunit/phpunit: ^9.0
- psalm/plugin-laravel: ^1.2
- vimeo/psalm: ^3.11
This package is auto-updated.
Last update: 2021-10-16 14:42:29 UTC
README
laravel-blade-input 是一组用于输入字段的 blade 组件。目前提供文本、文本区域和选择组件。
安装
您可以通过 composer 安装此包
composer require radiocubito/laravel-blade-input
用法
<x-input.group label="Email address" for="email" :error="$errors->first('email')"> <x-input.text wire:model.lazy="email" id="email" required autofocus /> </x-input.group> <x-input.group label="Countries" for="countries" :error="$errors->first('countries')"> <x-input.select wire:model="countries" id="countries" :options="$countries" /> </x-input.group> <x-input.group label="Description" for="description" :error="$errors->first('description')"> <x-input.textarea wire:model="description" id="description" /> </x-input.group>
测试
composer test
变更日志
请参阅 CHANGELOG 了解最近的变化信息。
贡献
请参阅 CONTRIBUTING 了解详细信息。
安全
如果您发现任何安全相关的问题,请通过电子邮件 oliver@radiocubito.com 而不是使用问题跟踪器。
鸣谢
许可
MIT 许可证 (MIT)。有关更多信息,请参阅 许可文件。