定制 tersoft/orchid-fields 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

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

Slug Laravel Orchid

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

Star Laravel Orchid

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-13