Looking to hire Laravel developers? Try LaraJobs

hyperf-nestedset maintained by laraveladmin

Description
Nested Set Model for Hyperf 2.0 and up
Author
Last update
2026/06/17 15:31 (dev-master)
License
Links
Downloads
0

Comments
comments powered by Disqus

Hyperf-nestedset

kalnoy/nestedset

\Lostinfo\Nestedset\NestedSet::columns($table);

\Lostinfo\Nestedset\NestedSet::dropColumns($table);
class Categories extends Model
{
    use \Lostinfo\Nestedset\NodeTrait;

    public function saving(Saving $event)
    {
        return self::onSaving($this);
    }

    public function deleted(Deleted $event)
    {
        self::onDeleted($this);
    }

    public function restoring(Restoring $event)
    {
        self::onRestoring($this);
    }

    public function restored(Restored $event)
    {
        self::onRestored($this);
    }
}