brychtaj/taggy

There is no license information available for the latest version (1.0.0) of this package.

An eloquent package for laravel

1.0.0 2017-02-23 19:50 UTC

This package is not auto-updated.

Last update: 2024-05-01 18:34:56 UTC


README

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();