tersoft/orchid-fields
最新稳定版本:1.1
Composer 安装命令:
composer require tersoft/orchid-fields
包简介
Дополнительные поля (Field) для пакета Orchid Laravel
README 文档
README
Package add different fields in Laravel Orchid
Installation
composer require tersoft/orchid-fields
Next, you should publish resources files using the vendor:publish Artisan command.
php artisan vendor:publish --tag=tersoft-orchid-fields
Slug
- Auto generate slug
use Tersoft\OrchidFields\Fields\InputSlug; InputSlug::make('category.title') ->set('data-slug', 'category[slug]') // category[slug] - field to generate slug ->undefinedSymbol('_'), // default "-" Input::make('category.slug'), // field to generate slug
Star
- Unlimit stars
- Select step
- Input value in field
use Tersoft\OrchidFields\Fields\RateStars; RateStars::make('star') ->count(5) // count stars ->step(1) // step ->readOnly() // star only read ->starSize(25) // stars size ->showTextField(), // show number input field
GitHub
- Create issues to ask questions or report problems.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-13

