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

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

yemrealtanay/tags
=================

You can add and use tags for your models for any time! This package is a simplified version of the spatie laravel tags package.

12PHP

Since Jan 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yemrealtanay/tags)[ Packagist](https://packagist.org/packages/yemrealtanay/tags)[ RSS](/packages/yemrealtanay-tags/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Yemrealtanay/tags

[](#yemrealtanaytags)

 Laravel Composer Library
 [**Explore the docs »**](https://github.com/yemrealtanay/tags/)

 · [Report Bug](https://github.com/yemrealtanay/tags/issues) · [Request Feature](https://github.com/yemrealtanay/tags/issues)

 Table of Contents1. [About The Project](#about-the-project)
    - [Built With](#built-with)
2. [Getting Started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation](#installation)
3. [Usage](#usage)
4. [License](#license)
5. [Contact](#contact)
6. [Acknowledgments](#acknowledgments)

About The Project
-----------------

[](#about-the-project)

You can add and use tags for your models for any time! This package is a simplified version of the spatie laravel tags package. If you want to more detailed tag package please visit:

([back to top](#readme-top))

### Built For

[](#built-for)

[![Laravel](https://camo.githubusercontent.com/5a580364ff3bd338370177402c5c050ff81a1933927e1e475c920c90850b38a3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d4646324432303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://laravel.com)

([back to top](#readme-top))

### Prerequisites

[](#prerequisites)

This is an example of how to list things you need to use the software and how to install them.

- need ```
    "php": "^8.0",
          "laravel/framework": "^8.67|^9.0"
    ```

### Installation

[](#installation)

1. - composer

```
composer require Yemrealtanay/tags
```

2. vendor publish for migrations

```
    php artisan vendor:publish --provider="Yemrealtanay\Tags\TagsServiceProvider" --tag="migrations"
```

3. vendor publish for config file

```
    php artisan vendor:publish --provider="Yemrealtanay\Tags\TagsServiceProvider" --tag="config"
```

4. migrate

```
    php artisan migrate
```

([back to top](#readme-top))

Usage
-----

[](#usage)

```
    use Yemrealtanay\Tags\HasTags

    User::attachTags(['tag1', 'tag2', 'tag3']);

    User::detachTags(['tag1', 'tag2']);

    User::with('tags')->query();
```

License
-------

[](#license)

Distributed under the MIT License. See `LICENSE.txt` for more information.

([back to top](#readme-top))

Contact
-------

[](#contact)

Yunus Emre Altanay -

Project Link:

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/48b2e0f4fab600facc0a3466722683f053663a958eb1b302276436509b0e7fed?d=identicon)[yemrealtanay](/maintainers/yemrealtanay)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yemrealtanay-tags/health.svg)

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

###  Alternatives

[lbaey/chromedriver

Utility for installing Chromedriver, whatever platform you are on, for use with Behat

1459.5k1](/packages/lbaey-chromedriver)

PHPackages © 2026

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