brychtaj / taggy by brychtaj

An eloquent package for laravel
9
0
1
Package Data
Maintainer Username: brychtaj
Package Create Date: 2017-02-23
Package Last Update: 2017-02-23
Language: PHP
License: Unknown
Last Refreshed: 2025-02-11 15:01:50
Package Statistics
Total Downloads: 9
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

taggy

Tag laravel Models using polymorphic relations.

Public API:

$model = Model::create([]);

$tags = Tag::create(["enter", "some", "tags"]);

$model->tag(["some", "tags"]);

$model->untag(["tags"]);

$model->retag(["some", "tags"]);

$model->removeAllTags();