PHPackages                             designbycode/laravel-taggable - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. designbycode/laravel-taggable

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

designbycode/laravel-taggable
=============================

laravel tagging package

v1.0.0(2y ago)04[3 PRs](https://github.com/DesignByCode/laravel-taggable/pulls)MITPHPPHP ^8.1

Since Jul 29Pushed 2y agoCompare

[ Source](https://github.com/DesignByCode/laravel-taggable)[ Packagist](https://packagist.org/packages/designbycode/laravel-taggable)[ Docs](https://github.com/designbycode/laravel-taggable)[ RSS](/packages/designbycode-laravel-taggable/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (15)Versions (5)Used By (0)

laravel tagging package
=======================

[](#laravel-tagging-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2dcc2a71e9a52b0c8051c41f4c72dbe06a54888dcc7648fca8cd65b7d955c10c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64657369676e6279636f64652f6c61726176656c2d7461676761626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/designbycode/laravel-taggable)\[[![GitHub Tests Action Status](https://camo.githubusercontent.com/870525d8273d6a7dcb9b20413f2a3478749eb75de2d42c47a6a62400a3c667f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64657369676e6279636f64652f6c61726176656c2d7461676761626c652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/870525d8273d6a7dcb9b20413f2a3478749eb75de2d42c47a6a62400a3c667f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64657369676e6279636f64652f6c61726176656c2d7461676761626c652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)\](? query=workflow%3Arun-tests+branch%3Amain) \[[![GitHub Code Style Action Status](https://camo.githubusercontent.com/18b78b27e4cda944e35cb53a8114ca1b64914b14ae0f5106d6a545a75490150b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64657369676e6279636f64652f6c61726176656c2d7461676761626c652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/18b78b27e4cda944e35cb53a8114ca1b64914b14ae0f5106d6a545a75490150b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64657369676e6279636f64652f6c61726176656c2d7461676761626c652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)\](. com/designbycode/laravel-taggable/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) [![Total Downloads](https://camo.githubusercontent.com/f263e930ed42a6e87496b1a83571368ee98711235317231dacbb617cdbbfcabc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64657369676e6279636f64652f6c61726176656c2d7461676761626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/designbycode/laravel-taggable)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require designbycode/laravel-taggable
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-taggable-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-taggable-config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

### Add Tags to Model

[](#add-tags-to-model)

```
$tag = new Designbycode\Taggable\Tag::create(['name' => 'Indigo']);

$post->tag($tag);
```

### Retrieve tags from model

[](#retrieve-tags-from-model)

```
$post->tags();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Claude Myburgh](https://github.com/designbycode)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1071d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6057076?v=4)[Claude Myburgh](/maintainers/claudemyburgh)[@claudemyburgh](https://github.com/claudemyburgh)

---

Top Contributors

[![claudemyburgh](https://avatars.githubusercontent.com/u/6057076?v=4)](https://github.com/claudemyburgh "claudemyburgh (4 commits)")

---

Tags

laraveldesignbycodelaravel-taggable

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/designbycode-laravel-taggable/health.svg)

```
[![Health](https://phpackages.com/badges/designbycode-laravel-taggable/health.svg)](https://phpackages.com/packages/designbycode-laravel-taggable)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M195](/packages/laravel-ai)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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