PHPackages                             yuges-code/laravel-topicable - 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. yuges-code/laravel-topicable

ActiveLibrary

yuges-code/laravel-topicable
============================

💡Package for easily attaching topics to Laravel eloquent models

1.0.2(11mo ago)27MITPHPPHP ^8.4CI passing

Since Apr 8Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/yuges-code/laravel-topicable)[ Packagist](https://packagist.org/packages/yuges-code/laravel-topicable)[ Docs](https://yuges-code.github.io/laravel-topicable)[ GitHub Sponsors](https://github.com/yuges-code)[ RSS](/packages/yuges-code-laravel-topicable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

 [![](https://raw.githubusercontent.com/yuges-code/laravel-topicable/master/assets/logo.png)](https://raw.githubusercontent.com/yuges-code/laravel-topicable/master/assets/logo.png)

 **Build **[![GitHub Branch Check Runs](https://camo.githubusercontent.com/02204a172d2a20da3b5b2c14e5f2bae744e69bafb92b2f7963d932158c607383/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636865636b2d72756e732f79756765732d636f64652f6c61726176656c2d746f70696361626c652f6d61696e)](https://camo.githubusercontent.com/02204a172d2a20da3b5b2c14e5f2bae744e69bafb92b2f7963d932158c607383/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636865636b2d72756e732f79756765732d636f64652f6c61726176656c2d746f70696361626c652f6d61696e) [![GitHub Tests Action Status](https://camo.githubusercontent.com/2e83f41249ddfd166ef31d71060dbd4fa027f66269da05a3000d0dd2bfc69bc1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f79756765732d636f64652f6c61726176656c2d746f70696361626c652f74657374696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2e83f41249ddfd166ef31d71060dbd4fa027f66269da05a3000d0dd2bfc69bc1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f79756765732d636f64652f6c61726176656c2d746f70696361626c652f74657374696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)****

 ******Project** [![GitHub Release](https://camo.githubusercontent.com/7e5eaa7ab14d8efc33bd46cecffad19a0939b28221d1ea8db609b850c9894117/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f79756765732d636f64652f6c61726176656c2d746f70696361626c65)](https://camo.githubusercontent.com/7e5eaa7ab14d8efc33bd46cecffad19a0939b28221d1ea8db609b850c9894117/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f79756765732d636f64652f6c61726176656c2d746f70696361626c65) [![Packagist Downloads](https://camo.githubusercontent.com/0a17c1b7f98c26e06206271e75f2eb91c7145aecdcc801c9540eebf8288dd563/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79756765732d636f64652f6c61726176656c2d746f70696361626c65)](https://camo.githubusercontent.com/0a17c1b7f98c26e06206271e75f2eb91c7145aecdcc801c9540eebf8288dd563/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79756765732d636f64652f6c61726176656c2d746f70696361626c65) [![GitHub License](https://camo.githubusercontent.com/7afd1571f9a8e2c58caeecc8103032fc9d209dc65d3b838e93db10d7b66489eb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f79756765732d636f64652f6c61726176656c2d746f70696361626c65)](https://camo.githubusercontent.com/7afd1571f9a8e2c58caeecc8103032fc9d209dc65d3b838e93db10d7b66489eb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f79756765732d636f64652f6c61726176656c2d746f70696361626c65) [![Packagist Stars](https://camo.githubusercontent.com/c745d749655fa29e126e8b94ecdfc20b330522d9346219202d13d74de813af89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f79756765732d636f64652f6c61726176656c2d746f70696361626c65)](https://camo.githubusercontent.com/c745d749655fa29e126e8b94ecdfc20b330522d9346219202d13d74de813af89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f79756765732d636f64652f6c61726176656c2d746f70696361626c65) [![Packagist Dependency Version](https://camo.githubusercontent.com/2c48794db2d753422bd6a6788f5fb79471c3062284c1b7a5763e97a43624450f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f79756765732d636f64652f6c61726176656c2d746f70696361626c652f706870)](https://camo.githubusercontent.com/2c48794db2d753422bd6a6788f5fb79471c3062284c1b7a5763e97a43624450f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f79756765732d636f64652f6c61726176656c2d746f70696361626c652f706870)

 **Quality**

Laravel Topicable
=================

[](#laravel-topicable)

### 💡 Package for easily attaching topics to Laravel eloquent models

[](#-package-for-easily-attaching-topics-to-laravel-eloquent-models)

💿 Installation
==============

[](#-installation)

### → Composer

[](#-composer)**** You can install the package via composer:

```
composer require yuges-code/laravel-topicable

```

### → Publishing Config

[](#-publishing-config)

Publishing the config file (config/topicable.php) is optional:

```
php artisan vendor:publish --provider="Yuges\Topicable\Providers\TopicableServiceProvider" --tag="topicable-configs"

```

### → Publishing Migrations

[](#-publishing-migrations)

You need to publish the migration to create the topics table:

```
php artisan vendor:publish --provider="Yuges\Topicable\Providers\TopicableServiceProvider" --tag="topicable-migrations"

```

### → Running Migrations

[](#-running-migrations)

After that, you need to run migrations:

```
php artisan migrate

```

🧪 Running Tests
===============

[](#-running-tests)

### → PHPUnit tests

[](#-phpunit-tests)

To run tests, run the following command:

```
composer test

```

⚖️ License
==========

[](#️-license)

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

🙆🏼‍♂️ Authors Information
=========================

[](#‍️-authors-information)

Created in 2025 by:

- [Yuges-code](https://github.com/yuges-code)
- [All Contributors](../../contributors)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance54

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.9% 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 ~22 days

Total

3

Last Release

352d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1aed716bd0f2c595ae974ee3aebc6f4c1488f8e5851c754a05a3467a0b70ed23?d=identicon)[yuges-code](/maintainers/yuges-code)

---

Top Contributors

[![goshasafonov](https://avatars.githubusercontent.com/u/48834605?v=4)](https://github.com/goshasafonov "goshasafonov (15 commits)")[![yuges-code](https://avatars.githubusercontent.com/u/186908593?v=4)](https://github.com/yuges-code "yuges-code (4 commits)")

---

Tags

laravelmorphablepackagephptopicsyugesphplaravelpackagetopicsyuges

### Embed Badge

![Health badge](/badges/yuges-code-laravel-topicable/health.svg)

```
[![Health](https://phpackages.com/badges/yuges-code-laravel-topicable/health.svg)](https://phpackages.com/packages/yuges-code-laravel-topicable)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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