mrnewport / laravel-nestedterms
A super dynamic & extensible Terms + Tags system for Laravel, featuring infinite nesting, dynamic casting, hierarchical slugs, etc.
Requires
- php: ^8.2
- illuminate/database: ^12.0 || ^13.0
- illuminate/support: ^12.0 || ^13.0
Requires (Dev)
- mockery/mockery: ^1.6
- orchestra/testbench: ^10.0 || ^11.0
- pestphp/pest: ^3.8
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-07 03:28:11 UTC
README
Editable taxonomy Terms, hierarchical typed Tags and polymorphic Eloquent membership. Model casts and parent checks are reusable; authorization, domain validation and concurrent tree editing stay in the host.
Interactive workshop — Try guided examples in your browser.
composer require mrnewport/laravel-nestedterms:^2.0
If your Composer registry has not indexed the GitHub tag, add its VCS source and repeat the requirement:
composer config repositories.laravel-nestedterms vcs https://github.com/MrNewport/laravel-nestedterms composer require mrnewport/laravel-nestedterms:^2.0
Publish nestedterms-config before choosing custom tables/models, then run php artisan migrate. Configuration changes do not rename or convert saved tables.
Start with the handbook for fresh Laravel 12/13 installation and the complete feature/operational guide. The feature index links every public API, return contract, failure mode and executable reference. The recipes show serious standalone and optional cross-package application use.
Laravel's own PHP runtime requirements apply. Package dependency constraints and current test coverage are described in the handbook. Run composer test in a development checkout; optional browser/renderer checks are documented with their requirements. Installing this package does not automatically integrate another package or authorize application records.