PHPackages                             reedware/nova-treeview - 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. reedware/nova-treeview

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

reedware/nova-treeview
======================

A treeview component to use with the Nova sidebar.

v1.0.0(7y ago)54.7kMITVuePHP &gt;=7.1.0

Since Mar 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/tylernathanreed/nova-treeview)[ Packagist](https://packagist.org/packages/reedware/nova-treeview)[ RSS](/packages/reedware-nova-treeview/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Nova Treeview
-------------

[](#nova-treeview)

### Installation

[](#installation)

Require this package with composer.

```
composer require reedware/nova-treeview
```

This package uses auto-discovery, so doesn't require you to manually add the service provider. Should you choose to do this manually, you can include the following class in your list of service providers:

```
\Reedware\NovaTreeview\TreeviewServiceProvider::class
```

### Usage

[](#usage)

This packages creates a new `` Vue component that can be used within your views. The `` component at its core can be used to optionally toggle the display of some sort of menu by clicking its corresponding label. In practice, is recommend to be used by the sidebar in Nova.

#### Basic Syntax

[](#basic-syntax)

Here's the basic syntax:

```

```

#### Example: Resource Navigation

[](#example-resource-navigation)

Here's what the treeview would look like if applied to resource navigation:

```
@if(count(Nova::availableResources(request())))

            {{ __('Resources') }}

            @foreach($navigation as $group => $resources)
                @if(count($groups) > 1)
                    {{ $group }}
                @endif

                    @foreach($resources as $resource)

                    @endforeach

            @endforeach

@endif
```

Which will result in the following:

[![Resource Example](/screenshots/resource-example.gif?raw=true "Resource Example")](/screenshots/resource-example.gif?raw=true)

By clicking the "Resources" label, you will expand the resources portion of the sidebar. Just remember, you can use the treeview anywhere in the sidebar (it doesn't have to be specifically for resources).

#### Example: Resource Groups

[](#example-resource-groups)

Additionally, you can nest treeviews within treeviews. Here's an example using treeviews to collapse Resource Groups:

```
@if(count(Nova::availableResources(request())))

            {{ __('Resources') }}

            @foreach($navigation as $group => $resources)
                @if(count($groups) > 1)

                            {{ $group }}

                @endif

                    @foreach($resources as $resource)

                    @endforeach

                @if(count($groups) > 1)

                @endif

            @endforeach

@endif
```

This will result in the following:

[![Resource Group Example](/screenshots/resource-group-example.gif?raw=true "Resource Group Example")](/screenshots/resource-group-example.gif?raw=true)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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

Unknown

Total

1

Last Release

2681d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6486381?v=4)[Tyler](/maintainers/tylernathanreed)[@tylernathanreed](https://github.com/tylernathanreed)

---

Top Contributors

[![tylernathanreed](https://avatars.githubusercontent.com/u/6486381?v=4)](https://github.com/tylernathanreed "tylernathanreed (12 commits)")[![tyler-reed-tsico](https://avatars.githubusercontent.com/u/62159579?v=4)](https://github.com/tyler-reed-tsico "tyler-reed-tsico (1 commits)")

---

Tags

laraveltreeviewnovasidebar

### Embed Badge

![Health badge](/badges/reedware-nova-treeview/health.svg)

```
[![Health](https://phpackages.com/badges/reedware-nova-treeview/health.svg)](https://phpackages.com/packages/reedware-nova-treeview)
```

###  Alternatives

[digital-creative/collapsible-resource-manager

A custom sidebar menu with collapsible groups

199904.2k1](/packages/digital-creative-collapsible-resource-manager)[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3453.7M8](/packages/optimistdigital-nova-multiselect-field)[inspheric/nova-defaultable

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

52178.7k1](/packages/inspheric-nova-defaultable)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11273.0k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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