PHPackages                             workup/resource-navigation-tab - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. workup/resource-navigation-tab

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

workup/resource-navigation-tab
==============================

Organize your long pile of tables and relationships into structured pages.

v1.1.1.002(4y ago)0863MITPHPPHP ^8.0

Since Nov 24Pushed 4y agoCompare

[ Source](https://github.com/workupsrl/resource-navigation-tab)[ Packagist](https://packagist.org/packages/workup/resource-navigation-tab)[ RSS](/packages/workup-resource-navigation-tab/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (20)Used By (0)

Resource Navigation Tab
=======================

[](#resource-navigation-tab)

Organize your long pile of tables and relationships into structured pages.

[![Resource Navigation Tab in Action](https://raw.githubusercontent.com/workupsrl/resource-navigation-tab/master/screenshots/demo-1.png)](https://raw.githubusercontent.com/workupsrl/resource-navigation-tab/master/screenshots/demo-1.png)

Installation
============

[](#installation)

You can install the package via composer:

```
composer require workup/resource-navigation-tab

```

Basic Usage
-----------

[](#basic-usage)

First, import `HasResourceNavigationTabTrait` trait into your resource and start grouping your fields with the `ResourceNavigationTab` object:

```
use Workup\ResourceNavigationTab\HasResourceNavigationTabTrait;
use Workup\ResourceNavigationTab\ResourceNavigationTab;

class ExampleNovaResource extends Resource {

    use HasResourceNavigationTabTrait; // Important!!

    public function fields(Request $request)
    {
        return [
            ResourceNavigationTab::make([
                'label' => 'Information',
                'behaveAsPanel' => true / false,
                'fields' => [
                    Text::make('Name'),
                    Text::make('Age'),
                    HasMany::make('Hobbies')
                ]
            ]),
            ResourceNavigationTab::make([ 'label' => 'Activities' ]),
            ResourceNavigationTab::make([ 'label' => 'Social Interactions' ]),
            ResourceNavigationTab::make([ 'label' => 'Settings' ]),
        ];
    }

}
```

Once setup navigate to your resource detail view, and you should be presented with this card:

[![Resource Navigation Tab in Action](https://raw.githubusercontent.com/dcasia/resource-navigation-tab/master/screenshots/demo-3.png)](https://raw.githubusercontent.com/dcasia/resource-navigation-tab/master/screenshots/demo-3.png)

By default the main resource table (the one with the edit/delete buttons) will have the same title as your tabs, however you can customize it by calling `->resourceTableTitle('Another title')`

```
public function fields(Request $request)
{
    return [
        ResourceNavigationTab::make([
            'label' => 'Tab Title',
            'resourceTableTitle' => 'Resource Table Title'
            'fields' => [...]
        ]),
    ];
}
```

Every defined card will be shown on every tab by default, however you can choose which card you want to show when a specific tab is selected:

```
use Workup\ResourceNavigationTab\HasResourceNavigationTabTrait;
use Workup\ResourceNavigationTab\ResourceNavigationTab;
use Workup\ResourceNavigationTab\CardMode;

class ExampleNovaResource extends Resource {

    public function fields(Request $request)
    {
        return [
            ResourceNavigationTab::make([ 'label' => 'Profile' ]), // show all the available cards by default
            ResourceNavigationTab::make([
                'label' => 'Activities',
                'cardMode' => CardMode::KEEP_ALL | CardMode::EXCLUDE_ALL // show all or remove all cards when this tab is active
            ]),
            ResourceNavigationTab::make([
                'label' => 'Preferences',
                'cardMode' => CardMode::ONLY | CardMode::EXCEPT // show or remove only the selected cards
                'cards' => [
                   ClientPerformanceCard::class,
                   ClientProfileCard::class,
                ]
            ]),
        ];
    }

    public function cards(Request $request)
    {
        return [
            new ClientPerformanceCard(),
            new DailySalesCard(),
            new ClientProfileCard()
        ];
    }

}
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://raw.githubusercontent.com/dcasia/resource-navigation-tab/master/LICENSE) for more information.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~43 days

Recently: every ~134 days

Total

19

Last Release

1631d ago

Major Versions

v0.2.8 → v1.0.02020-02-11

PHP version history (2 changes)v0.1.0PHP &gt;=7.1.0

v1.1.1.001PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/54703511?v=4)[Workup](/maintainers/workup)[@workup](https://github.com/workup)

---

Top Contributors

[![milewski](https://avatars.githubusercontent.com/u/2874967?v=4)](https://github.com/milewski "milewski (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![4n70w4](https://avatars.githubusercontent.com/u/38257723?v=4)](https://github.com/4n70w4 "4n70w4 (4 commits)")[![rslanzi](https://avatars.githubusercontent.com/u/7341598?v=4)](https://github.com/rslanzi "rslanzi (3 commits)")[![hello-liang-shan](https://avatars.githubusercontent.com/u/47734732?v=4)](https://github.com/hello-liang-shan "hello-liang-shan (2 commits)")[![mastani](https://avatars.githubusercontent.com/u/7414851?v=4)](https://github.com/mastani "mastani (1 commits)")[![cord](https://avatars.githubusercontent.com/u/158588?v=4)](https://github.com/cord "cord (1 commits)")[![angelsk](https://avatars.githubusercontent.com/u/606510?v=4)](https://github.com/angelsk "angelsk (1 commits)")

---

Tags

laravelfieldcardnovatabs

### Embed Badge

![Health badge](/badges/workup-resource-navigation-tab/health.svg)

```
[![Health](https://phpackages.com/badges/workup-resource-navigation-tab/health.svg)](https://phpackages.com/packages/workup-resource-navigation-tab)
```

###  Alternatives

[digital-creative/resource-navigation-tab

Organize your resource fields into tabs.

78152.7k](/packages/digital-creative-resource-navigation-tab)[digital-creative/resource-navigation-link

Create links to internal or external resources.

1049.0k](/packages/digital-creative-resource-navigation-link)[timothyasp/nova-color-field

A Laravel Nova Color Picker field.

771.7M6](/packages/timothyasp-nova-color-field)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

52178.7k1](/packages/inspheric-nova-defaultable)[optimistdigital/nova-notes-field

This Laravel Nova package adds a notes field to Nova's arsenal of fields.

52145.0k](/packages/optimistdigital-nova-notes-field)[outl1ne/nova-color-field

A Laravel Nova Color Picker field.

26263.8k](/packages/outl1ne-nova-color-field)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
