LaravelPackages.net
Acme Inc.
Toggle sidebar
arsenaltech/nova-header

A Laravel Nova field.

7.435
10
About arsenaltech/nova-header

arsenaltech/nova-header is a Laravel package for a laravel nova field.. It currently has 10 GitHub stars and 7.435 downloads on Packagist. Install it with composer require arsenaltech/nova-header. Discover more Laravel packages by arsenaltech or browse all Laravel packages to compare alternatives.

Last updated

Laravel Nova Header Total Downloads

Custom Nova field to add field header when using tabs https://github.com/arsenaltech/nova-tab

Installation

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

composer require arsenaltech/nova-header

Usage

Add the field to your resource in the fields method:


new NovaTab('User Information', [
            NovaHeader::make('Example Title'),
            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()),


Comments