Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tree View Laravel Package

day4/tree-view

day4/tree-view is a Laravel package for turning nested, parent-child data into hierarchical tree views. It helps display categories, menus, and similar structures in Blade templates with simple, reusable rendering logic, so you can present recursive relationships cleanly without custom traversal cod...

View on GitHub
Deep Wiki
Context7

A Laravel Nova tool.

Frequently asked questions about Tree View
Does day4/tree-view work with Laravel Nova 4 or Nova 5?
Not out of the box. The last release was September 2020, in the Nova 3 era, while Nova 4 reworked tool bootstrapping and asset publishing around Inertia and Vue 3. Expect the tool to fail at registration or asset compilation on current Nova versions. Treat it as a fork project rather than a direct Composer dependency.
How do I install day4/tree-view in a Laravel Nova application?
Run composer require day4/tree-view, then register the tool in your NovaServiceProvider::tools() method. Configure the target model and the parent and title keys, then publish the tool assets. The mechanical install is simple, but verify the registration signature and asset-publishing contract against your actual Nova major first.
Is day4/tree-view a general-purpose Blade tree library for Laravel?
No. Despite descriptions of Blade rendering, the package is a Laravel Nova tool that mounts a Vue component inside the Nova admin panel. It has no domain model and no reusable Blade traversal or rendering logic. Outside Nova, it delivers nothing reusable, so do not select it for a non-Nova front end.
What database structure does day4/tree-view expect for hierarchical data?
It is built around a parent_id-style adjacency-list hierarchy, with configurable parent and title keys. It is not a nested-set implementation, though the assessment notes an adapter question that should be confirmed against the source. Check that your schema matches the parent_id convention before planning integration.
Does drag-and-drop reordering in day4/tree-view persist ordering reliably?
The tool has an ordering write path backed by a sort column, but the assessment flags whether persistence is transactional and sibling-scoped or merely UI-level and lossy. There is no evidence of a robust transaction and validation layer in the evaluation. Audit the reorder handler before trusting it in production.
Does day4/tree-view respect Nova policies and authorization guards?
This is unverified and is a stated concern in the technical assessment. The panel may expose hierarchy structure to anyone who can reach the tool, regardless of Nova policies. Review the component and registration for authorization checks before exposing it to non-admin users.
Is day4/tree-view actively maintained, and are security patches available?
No. It has roughly 9 stars, zero dependents, no release in over four years, and no maintained branch. There is no upstream escalation path and no security patch channel. Adopting it transfers all ownership of future fixes to your team.
How much engineering effort does integrating day4/tree-view require?
In a compatible Nova 3 environment, installation and configuration are roughly one to two engineer-days. Fork-and-vendor is estimated at three to five engineer-days, including modernization from Vue 2 to Vue 3 or Inertia for Nova 4 and above. If the fork estimate exceeds about a week, building a purpose-built Nova tool or an ordering action is lower total cost.
How should I test a forked version of day4/tree-view?
The context does not indicate a maintained test suite, so plan to add your own tests after forking. Cover tool registration, component mounting, hierarchy discovery from parent_id, and reorder persistence with sibling-scope validation. Add authorization tests to confirm Nova policies and guards are enforced at the panel boundary.
What license does day4/tree-view use, and can I fork it privately?
The license is not confirmed in the provided context, so verify it on the repository before committing. A private fork is only permissible if the license is permissive enough for internal modification and redistribution. Record the license decision alongside the fork-versus-build decision.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo