New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

64robots/nova-fields

A Laravel Nova field.
1,081,484 283
Install
composer require 64robots/nova-fields
Latest Version:0.23.0
PHP:^7.1|^8.0
License:MIT
Last Updated:Jan 3, 2025
Links: GitHub  ·  Packagist
Maintainer: 64robots

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:

  • 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')

Related Packages

epartment/nova-dependency-container

A Laravel Nova field container allowing to depend on other fields values

4,714,574 378
eminiarts/nova-tabs

Laravel Nova - Tabs.

4,667,872 464
ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

3,949,684 616
spatie/nova-tags-field

A tags field for Nova apps

2,392,574 302
kabbouchi/nova-impersonate

A Laravel Nova field allows you to authenticate as your users.

2,287,856 235

Version History

Version Released PHP License
0.23.0 ^7.1|^8.0 MIT
0.22.0 >=7.1.0 MIT
0.21.0 >=7.1.0 MIT
0.20.0 >=7.1.0 MIT
0.19.0 >=7.1.0 MIT