LaravelPackages.net
Acme Inc.
Toggle sidebar
64robots/nova-fields

A Laravel Nova field.

1.059.760
283
0.23.0
About 64robots/nova-fields

64robots/nova-fields is a Laravel package for a laravel nova field.. It currently has 283 GitHub stars and 1.059.760 downloads on Packagist (latest version 0.23.0). Install it with composer require 64robots/nova-fields. Discover more Laravel packages by 64robots or browse all Laravel packages to compare alternatives.

Last updated

Getting Started

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:

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

Custom Fields

  • [x] Autocomplete
  • [x] JSON
  • [x] 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')
Comments