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.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/yemrealtanay/tags
Requires
- php: ^8.0
- laravel/framework: ^8.67|^9.0
This package is auto-updated.
Last update: 2025-12-08 06:06:53 UTC
README
Yemrealtanay/tags
Laravel Composer Library
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
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: https://spatie.be/docs/laravel-tags/v4/introduction
Built For
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
-
- composer
composer require Yemrealtanay/tags
- vendor publish for migrations
php artisan vendor:publish --provider="Yemrealtanay\Tags\TagsServiceProvider" --tag="migrations"
- vendor publish for config file
php artisan vendor:publish --provider="Yemrealtanay\Tags\TagsServiceProvider" --tag="config"
- migrate
php artisan migrate
Usage
use Yemrealtanay\Tags\HasTags User::attachTags(['tag1', 'tag2', 'tag3']); User::detachTags(['tag1', 'tag2']); User::with('tags')->query();
License
Distributed under the MIT License. See LICENSE.txt for more information.
Contact
Yunus Emre Altanay - y.emrealtanay@gmail.com
Project Link: https://github.com/yemrealtanay/tags/