PHPackages                             asseco-voice/laravel-tags - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. asseco-voice/laravel-tags

ActiveLibrary[Database &amp; ORM](/categories/database)

asseco-voice/laravel-tags
=========================

Laravel support for tags

v2.1.1(1y ago)06.4k[3 PRs](https://github.com/asseco-voice/laravel-tags/pulls)MITPHPPHP ^8.1CI passing

Since Mar 12Pushed 1y ago5 watchersCompare

[ Source](https://github.com/asseco-voice/laravel-tags)[ Packagist](https://packagist.org/packages/asseco-voice/laravel-tags)[ RSS](/packages/asseco-voice-laravel-tags/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (7)Versions (22)Used By (0)

[![](https://github.com/asseco-voice/art/raw/main/evil_logo.png)](https://see.asseco.com)

Tags
====

[](#tags)

Purpose of this repository is to enable tags for any Laravel model.

Installation
------------

[](#installation)

Require the package with `composer require asseco-voice/laravel-tags`. Service provider will be registered automatically.

Setup
-----

[](#setup)

In order to use the package, migrate the tables with `artisan migrate`and add `Taggable` trait to model you'd like to have tag support on.

Standard CRUD endpoints are exposed for tag administration. Due to the fact that tags are a polymorphic relation, you have to provide your own controllers for attaching/detaching those tags to taggable models.

Example:

```
// Routes
Route::post('models/{model}/tags', [ModelTagController::class, 'store']);

// Controller
public function store(Request $request, Model $model): JsonResponse
{
    $ids = Arr::get($request->validated(), 'tag_ids', []);

    $model->tags()->sync($ids);

    return response()->json('success');
}
```

Extending the package
=====================

[](#extending-the-package)

Publishing the configuration will enable you to change package models as well as controlling how migrations behave. If extending the model, make sure you're extending the original model in your implementation.

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance45

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 65.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~88 days

Recently: every ~271 days

Total

18

Last Release

428d ago

Major Versions

v0.5.0 → v1.0.02022-05-05

v1.1.0 → v2.0.02023-08-08

PHP version history (3 changes)v0.1.0PHP ^7.4 || ^8.0

v1.0.0PHP ^8.0

v2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/d61de45741b74e7d4a9ee5778160cf54ae5e94a615ae1a6f72b6d1e5fae68d12?d=identicon)[Norgul](/maintainers/Norgul)

---

Top Contributors

[![Norgul](https://avatars.githubusercontent.com/u/11718157?v=4)](https://github.com/Norgul "Norgul (40 commits)")[![assefvisic](https://avatars.githubusercontent.com/u/60132037?v=4)](https://github.com/assefvisic "assefvisic (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![AirMike](https://avatars.githubusercontent.com/u/561217?v=4)](https://github.com/AirMike "AirMike (2 commits)")[![AkronimBlack](https://avatars.githubusercontent.com/u/39061674?v=4)](https://github.com/AkronimBlack "AkronimBlack (2 commits)")[![DaveXo9](https://avatars.githubusercontent.com/u/85836822?v=4)](https://github.com/DaveXo9 "DaveXo9 (1 commits)")[![DevFajdetic](https://avatars.githubusercontent.com/u/67901712?v=4)](https://github.com/DevFajdetic "DevFajdetic (1 commits)")[![josip-milotic](https://avatars.githubusercontent.com/u/42002911?v=4)](https://github.com/josip-milotic "josip-milotic (1 commits)")

---

Tags

laravellaravel8microservicesphptagsphplaraveldatabasetagsmicroservices

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/asseco-voice-laravel-tags/health.svg)

```
[![Health](https://phpackages.com/badges/asseco-voice-laravel-tags/health.svg)](https://phpackages.com/packages/asseco-voice-laravel-tags)
```

###  Alternatives

[wayofdev/laravel-cycle-orm-adapter

🔥 A Laravel adapter for CycleORM, providing seamless integration of the Cycle DataMapper ORM for advanced database handling and object mapping in PHP applications.

3729.5k3](/packages/wayofdev-laravel-cycle-orm-adapter)[waad/laravel-model-metadata

A robust Laravel package for handling metadata with JSON casting, custom relation names, and advanced querying capabilities.

854.1k](/packages/waad-laravel-model-metadata)[codewithkyrian/chromadb-laravel

ChromaDB Laravel is a Laravel client for the Chroma Open Source Embedding Database

144.1k](/packages/codewithkyrian-chromadb-laravel)[ramadan/easy-model

A Laravel package for enjoyably managing database queries.

111.6k](/packages/ramadan-easy-model)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
