PHPackages                             day4/tree-view - 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. [Admin Panels](/categories/admin)
4. /
5. day4/tree-view

ActiveLibrary[Admin Panels](/categories/admin)

day4/tree-view
==============

A Laravel Nova tool.

0.5.1(5y ago)992.6k↑48.6%13[7 issues](https://github.com/u12206050/nova-treeview/issues)MITVuePHP &gt;=7.1.0

Since Mar 16Pushed 4y ago3 watchersCompare

[ Source](https://github.com/u12206050/nova-treeview)[ Packagist](https://packagist.org/packages/day4/tree-view)[ RSS](/packages/day4-tree-view/feed)WikiDiscussions master Synced yesterday

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

‼️ This repository is no longer maintained by the original author. PRs are still welcome, but active support is limited

Nova Tree View
==============

[](#nova-tree-view)

Display a model in a Tree View with drag and drop functionality. Useful for category structure.

Setup
-----

[](#setup)

Make sure your model you wish to use in the tree structure has the following columns:

```
parent_id
is_active
order

```

Add the tool to `NovaServiceProvider.php`

Category Model Example:
-----------------------

[](#category-model-example)

```
Schema::create('categories', function (Blueprint $table) {
    $table->unsignedInteger('id')->autoIncrement();
    $table->string('title');
    $table->string('slug');
    $table->unsignedInteger('parent_id')->nullable();
    $table->boolean('is_active')->default(true);
    $table->tinyInteger('order')->default(0);
});

```

Usage
-----

[](#usage)

```
/app/Providers/NovaServiceProvider.php
...
use Day4\TreeView\TreeView;
    ...
    public function tools()
    {
        return [
            ...
            new TreeView([
             // ['NAME_IN_SIDEBAR', 'TABLE_NAME']
                ['Categories', 'categories']
            ])
        ];
    }

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance4

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~90 days

Total

3

Last Release

2118d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce4d4851a76e7645641761d652329da8749467ae556b190b9894835df1d1a5ac?d=identicon)[Gerardlamo](/maintainers/Gerardlamo)

---

Top Contributors

[![u12206050](https://avatars.githubusercontent.com/u/6641242?v=4)](https://github.com/u12206050 "u12206050 (3 commits)")[![muhammadsaeedparacha](https://avatars.githubusercontent.com/u/2680384?v=4)](https://github.com/muhammadsaeedparacha "muhammadsaeedparacha (1 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/day4-tree-view/health.svg)

```
[![Health](https://phpackages.com/badges/day4-tree-view/health.svg)](https://phpackages.com/packages/day4-tree-view)
```

###  Alternatives

[david-griffiths/nova-dark-theme

A dark theme for Laravel Nova

71600.0k](/packages/david-griffiths-nova-dark-theme)[pdmfc/nova-action-button

A Laravel Nova field to run actions.

37753.3k1](/packages/pdmfc-nova-action-button)[khalin/nova-link-field

A Laravel Nova Link field.

31587.5k2](/packages/khalin-nova-link-field)[cloudcake/nova-fixed-bars

A Laravel Nova package to add a responsive and/or fixed sidebar and navigation bar to the Nova admin UI.

33215.1k2](/packages/cloudcake-nova-fixed-bars)[stephenlake/nova-fixed-bars

A Laravel Nova package to add a responsive and/or fixed sidebar and navigation bar to the Nova admin UI.

3377.9k](/packages/stephenlake-nova-fixed-bars)

PHPackages © 2026

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