Download the PHP package aminsamadzadeh/vispobish without Composer
On this page you can find all versions of the php package aminsamadzadeh/vispobish. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aminsamadzadeh/vispobish
More information about aminsamadzadeh/vispobish
Files in aminsamadzadeh/vispobish
Download aminsamadzadeh/vispobish
More information about aminsamadzadeh/vispobish
Files in aminsamadzadeh/vispobish
Vendor aminsamadzadeh
Package vispobish
Short Description tree structure for eloquent models
License MIT
Package vispobish
Short Description tree structure for eloquent models
License MIT
Please rate this library. Is it a good library?
Informations about the package vispobish
Vispobish
Add tree structure to Eloquent models. In this package try to use optimize queries.
Installing
just run below command:
Usage
Create migration.
Add Treeable
trait to model.
Named Path
if you want save path with spicial name you can add public $namedPathWith
property to your model and add named_path
to migration.
Relationship
$cat->parent()
get parent$cat->children()
get children$cat->descendants()
get flatten children of childrens$cat->ancestors()
get flatten all parents
All versions of vispobish with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
^7.0
The package aminsamadzadeh/vispobish contains the following files
Loading the files please wait ....