PHPackages                             ctf0/tagos - 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. ctf0/tagos

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

ctf0/tagos
==========

GUI to manage tags in laravel based on spatie/laravel-tags

v1.3.1(5y ago)15251MITVue

Since Mar 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ctf0/Tagos)[ Packagist](https://packagist.org/packages/ctf0/tagos)[ Docs](https://github.com/ctf0/Tagos)[ RSS](/packages/ctf0-tagos/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (19)Used By (0)

 Tagos
 [![Latest Stable Version](https://camo.githubusercontent.com/ecd89d6a9f5047dbe5d5ca34f30122ba0d64fced48bc2860421d8ac9837626cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f637466302f7461676f732e737667)](https://packagist.org/packages/ctf0/tagos) [![Total Downloads](https://camo.githubusercontent.com/5605c05b673c973d4520b05b0c3d97c3e0f9a876de62fa49ddb43e3330a63a20/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f637466302f7461676f732e737667)](https://packagist.org/packages/ctf0/tagos)
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#----tagos---------)

A Tag **Editor** and **Selector** based on [spatie/laravel-tags](https://github.com/spatie/laravel-tags).

#### Editor

[](#editor)

 [![](https://user-images.githubusercontent.com/7388088/41531521-de565f66-72f3-11e8-8a2a-e07ea1002e1b.png)](https://user-images.githubusercontent.com/7388088/41531521-de565f66-72f3-11e8-8a2a-e07ea1002e1b.png)

#### Selector

[](#selector)

 [![](https://user-images.githubusercontent.com/7388088/38068467-9407081a-3311-11e8-83a5-eea196fb00e3.png)](https://user-images.githubusercontent.com/7388088/38068467-9407081a-3311-11e8-83a5-eea196fb00e3.png)

- package requires Laravel v5.5+

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

[](#installation)

- `composer require ctf0/tagos`
- publish the package assets with

    `php artisan vendor:publish --provider="ctf0\Tagos\TagosServiceProvider"`
    `php artisan vendor:publish --provider="Spatie\Tags\TagsServiceProvider" --tag="migrations"`
- after installation, run `php artisan tagos:setup` to add

    - package routes to `routes/web.php`
    - package assets compiling to `webpack.mix.js`
- install dependencies

    ```
    yarn add vue vue-awesome@v2 vue-notif vue-tippy@v2 axios fuse.js
    ```
- add this one liner to your main js file and run `npm run watch` to compile your `js/css` files.

    - if you are having issues [Check](https://ctf0.wordpress.com/2017/09/12/laravel-mix-es6/)

    ```
    // app.js

    window.Vue = require('vue')

    require('../vendor/Tagos/js/manager')

    new Vue({
        el: '#app'
    })
    ```

Features
--------

[](#features)

- tags editor &amp; selector.
- show tag suggestion as you type.
- easily add new tag name &amp; type.
- show tagged items by tag &amp; by type.
- search for tags by name in tags index.
- shortcuts

    interactionskeyboardmouse (click)show all tags*(input)* 2xadd new tagenter\*hide tags listescanywhere

Usage
-----

[](#usage)

- migrate the tags table with `php artisan migrate`
- there is also a seeder to quickly get you going

    ```
    // database/seeds/DatabaseSeeder.php

    class DatabaseSeeder extends Seeder
    {
        /**
         * Run the database seeds.
         */
        public function run()
        {
            //...

            $this->call(TagsTableSeeder::class);
        }
    }
    ```
- add `HasTags` trait to your model ex.`post`

    ```
    use ctf0\Tagos\Traits\HasTags;
    use Illuminate\Database\Eloquent\Model;

    class Post extends Model
    {
        use HasTags;
    }
    ```

> #### Get All tags
>
> [](#get-all-tags)

```
app('cache')->get('tagos');
```

> #### Attaching Tags
>
> [](#attaching-tags)

- show the tag selector

    - ex.`posts create view`

        ```
        @include('Tagos::partials.add')
        ```
    - ex.`posts edit view`

        ```
        @include('Tagos::partials.add', ['old' => app('tagos')->getModelTags($post)])
        ```
- save the tags

    - `store()`

        ```
        $model = Post::create([...]);

        app('tagos')->saveTags($model, $request);
        ```
    - `update()`

        ```
        $model = Post::find($id)->update([...]);

        app('tagos')->saveTags($model, $request);
        ```

> #### Display Model Tags
>
> [](#display-model-tags)

```
@include('Tagos::partials.display', [
    'tags' => $post->tags,
    'showType' => true // whether to show the tag type or not
])
```

#### Routes

[](#routes)

MethodURLNameActionGETtags/editortagos.editor\\ctf0\\Tagos\\Controllers\\TagosController@editorGETtagstagos.index\\ctf0\\Tagos\\Controllers\\TagosController@indexGETtags/type/{type}tagos.index\_type\\ctf0\\Tagos\\Controllers\\TagosController@indexByTypeGETtags/{slug}tagos.show\\ctf0\\Tagos\\Controllers\\TagosController@showGETtags/type/{type}/tag/{slug}tagos.show\_type\\ctf0\\Tagos\\Controllers\\TagosController@showByType

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity72

Established project with proven stability

 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

Every ~57 days

Recently: every ~125 days

Total

18

Last Release

1989d ago

PHP version history (2 changes)v1.0.0PHP ~7.0

v1.3.0PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/51dbfff65441e32301575f8ac241895817975e754d15574b86f543b33f1961f6?d=identicon)[ctf0](/maintainers/ctf0)

---

Top Contributors

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

---

Tags

editorjslaravelmanagerphptaggingvuejslaravelguimanagertaggingctf0tagos

### Embed Badge

![Health badge](/badges/ctf0-tagos/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[cybercog/laravel-paket

Composer personal web interface. Manage Laravel dependencies without switching to command line!

1753.3k](/packages/cybercog-laravel-paket)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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