定制 64robots/nova-fields 二次开发

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

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

64robots/nova-fields

最新稳定版本:0.23.0

Composer 安装命令:

composer require 64robots/nova-fields

包简介

A Laravel Nova field.

README 文档

README

Documentation

Nova Fields is a collection of rewriten "native" fields that comes with Nova. We are also adding new fields and utilities as we find the need.

The idea here is making them more configurable and reusable in package development. These components have a lot of new methods to customize the look and feel, behavior, etc...

Vue components also emit events that propagates up to the chain so are ideal to reuse them in other Nova packages.

Looking forward to see your feedback.

Available fields:

  • ID
  • Text
  • Number
  • Textarea
  • Select
  • Password
  • Boolean
  • Trix
  • File
  • Image
  • BelongsTo
  • Currency
  • Status
  • Avatar
  • Gravatar
  • Code
  • Country
  • Date
  • DateTime
  • Markdown
  • Place
  • Timezone

Custom Fields

  • Autocomplete
  • JSON
  • Row

Install

Run this command in your nova project: composer require 64robots/nova-fields

Usage:

// use R64\NovaFields\<NAME OF THE FIELD>;
use R64\NovaFields\Boolean;

Boolean::make('Activo', 'active')
                ->yesLabel('Yeah')
                ->noLabel('Nope')
                ->hideLabelInDetail()
                ->dotClasses('some classes')
                ->successClass('bg-warning')

统计信息

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

GitHub 信息

  • Stars: 287
  • Watchers: 4
  • Forks: 72
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-07