Download the PHP package sohrab-az/laravel-taxonomy without Composer
On this page you can find all versions of the php package sohrab-az/laravel-taxonomy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sohrab-az/laravel-taxonomy
More information about sohrab-az/laravel-taxonomy
Files in sohrab-az/laravel-taxonomy
Download sohrab-az/laravel-taxonomy
More information about sohrab-az/laravel-taxonomy
Files in sohrab-az/laravel-taxonomy
Vendor sohrab-az
Package laravel-taxonomy
Short Description A flexible taxonomy package for Laravel
License MIT
Package laravel-taxonomy
Short Description A flexible taxonomy package for Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-taxonomy
๐ฆ Laravel Taxonomy Package
A flexible and powerful taxonomy system for Laravel supporting:
- Categories (hierarchical / multiple)
- Tags (flat / multiple)
- Brands (flat / single)
- Polymorphic relationships
- Nested set structure (tree support)
- Query builder & manager layer
๐ Features
- ๐ Attach multiple taxonomies to any model
- ๐ฒ Hierarchical taxonomy support (nested set)
- โ๏ธ Config-driven taxonomy types
- ๐ Fluent query builder
- ๐ง Smart sync / attach / detach logic
- ๐ Language-aware taxonomies
- ๐ค Creator tracking (polymorphic)
๐ฆ Installation
โ๏ธ Publish Config
๐งพ Configuration
config/taxonomy.php
๐ Database Structure
taxonomies table
- id
- name
- slug
- type
- order
- parent_id (nested set)
- _lft, _rgt (nested set)
- language_id
- created_by_type
- created_by_id
- timestamps
Pivot: taxonomyables
Polymorphic relation table:
- taxonomy_id
- taxonomyable_id
- taxonomyable_type
- timestamps
๐ง Usage
Add trait to your model
๐ Relationship
โ๏ธ Attach Taxonomies
โ Detach Taxonomies
๐ Sync Taxonomies
๐ Query Builder
Examples
Filters
Execution
๐ง Taxonomy Manager
Internal service handling logic:
Features:
- Type-aware syncing
- Handles multiple/single constraints
- Prevents duplicate attachments
- Grouped processing per taxonomy type
๐งฉ Taxonomy Type Helper
๐ Service Provider
Automatically registered via:
Provides:
- Config merging
- Migration loading
- Config publishing
๐ Requirements
- PHP 8+
- Laravel 10+
- kalnoy/nestedset
๐ License
All versions of laravel-taxonomy with dependencies
PHP Build Version
Package Version
The package sohrab-az/laravel-taxonomy contains the following files
Loading the files please wait ...