arsenaltech/nova-tab

A Laravel Nova field.
131,564 73
Install
composer require arsenaltech/nova-tab
Latest Version:0.2
PHP:>=7.1.0
License:MIT
Last Updated:Mar 2, 2020
Links: GitHub  ·  Packagist
Maintainer: shabbirbharmal

Laravel Nova Tab Total Downloads

Custom Nova field to render tabs

Installation

Install the package into a Laravel app that uses Nova with Composer:

composer require arsenaltech/nova-tab

Usage

Add the Tabs trait to your App\Nova\Resource class.

use Arsenaltech\NovaTab\Tabs;

abstract class Resource extends NovaResource
{
    use Tabs;

Add the field to your resource in the fields method:

use Arsenaltech\NovaTab\NovaTab;


new NovaTab('User Information', [
            Text::make('Name')
                ->sortable()
                ->rules('required', 'max:255'),
            Text::make('Email')
                ->sortable()
                ->rules('required', 'email', 'max:255')
                ->creationRules('unique:users,email')
                ->updateRules('unique:users,email,{{resourceId}}')]),
new NovaTab('Address Information', $this->addressFields()),
new NovaTab('Other Information', $this->otherFields()),


Related Packages

maatwebsite/laravel-nova-excel

Supercharged Excel exports for Laravel Nova Resources

7,226,927 401
vyuldashev/nova-permission

A Laravel Nova tool for Spatie's Permission library.

2,649,483 428
spatie/nova-tail-tool

A Laravel Nova tool to display the application log.

130,022 119
spatie/nova-tags-field

A tags field for Nova apps

2,320,736 301
spatie/nova-backup-tool

A Laravel Nova tool to backup your application.

611,862 359

Version History

Version Released PHP License
0.2 >=7.1.0 MIT
0.1 >=7.1.0 MIT