PHPackages                             michalsn/codeigniter-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. [Framework](/categories/framework)
4. /
5. michalsn/codeigniter-tags

ActiveLibrary[Framework](/categories/framework)

michalsn/codeigniter-tags
=========================

Tags for CodeIgniter 4 framework

v1.1.2(5mo ago)84.0k↓50%2MITPHPPHP ^8.1CI passing

Since Oct 19Pushed 5mo ago3 watchersCompare

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

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

CodeIgniter Tags
================

[](#codeigniter-tags)

A library that helps you build **tags** functionality around your existing models in the CodeIgniter 4 framework.

[![PHPUnit](https://github.com/michalsn/codeigniter-tags/actions/workflows/phpunit.yml/badge.svg)](https://github.com/michalsn/codeigniter-tags/actions/workflows/phpunit.yml)[![PHPStan](https://github.com/michalsn/codeigniter-tags/actions/workflows/phpstan.yml/badge.svg)](https://github.com/michalsn/codeigniter-tags/actions/workflows/phpstan.yml)[![Deptrac](https://github.com/michalsn/codeigniter-tags/actions/workflows/deptrac.yml/badge.svg)](https://github.com/michalsn/codeigniter-tags/actions/workflows/deptrac.yml)[![Coverage Status](https://camo.githubusercontent.com/53a558571486fdd984ee5b3c2a722a4232f55c30ea8ca1901b651be18514f62b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d696368616c736e2f636f646569676e697465722d746167732f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/michalsn/codeigniter-tags?branch=develop)

[![PHP](https://camo.githubusercontent.com/d6aac44f81cb2e6f4e71f098a1cb4a71992f24f7bfb424f6670db8313c9a855c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e312d626c7565)](https://camo.githubusercontent.com/d6aac44f81cb2e6f4e71f098a1cb4a71992f24f7bfb424f6670db8313c9a855c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e312d626c7565)[![CodeIgniter](https://camo.githubusercontent.com/8867c0cb2bfb4e11f527658f45d11bea936efb5a06e66b10e576912cf40874e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f646549676e697465722d253545342e332d626c7565)](https://camo.githubusercontent.com/8867c0cb2bfb4e11f527658f45d11bea936efb5a06e66b10e576912cf40874e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f646549676e697465722d253545342e332d626c7565)

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

[](#installation)

```
composer require michalsn/codeigniter-tags

```

Migrate your database:

```
php spark migrate --all

```

Configuration
-------------

[](#configuration)

Add `HasTags` trait to your model and initialize tags with `initTags()` method.

```
class ExampleModel extends BaseModel
{
    use HasTags;

    // ...

    protected function initialize()
    {
        $this->initTags();
    }

    // ...
}
```

And if you use [Entity](https://www.codeigniter.com/user_guide/models/entities.html) class, add `TaggableEntity` trait to it:

```
class Example extends Entity
{
    use TaggableEntity;

    // ...
}
```

Docs
----

[](#docs)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance71

Regular maintenance activity

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.5% 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 ~255 days

Total

4

Last Release

176d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/459185?v=4)[Michal Sniatala](/maintainers/michalsn)[@michalsn](https://github.com/michalsn)

---

Top Contributors

[![michalsn](https://avatars.githubusercontent.com/u/459185?v=4)](https://github.com/michalsn "michalsn (37 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![paul45](https://avatars.githubusercontent.com/u/3822819?v=4)](https://github.com/paul45 "paul45 (1 commits)")

---

Tags

codeignitercodeigniter4phpphp81tagscodeignitertagscodeigniter4

### Embed Badge

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

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

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[michalsn/codeigniter-htmx

HTMX helper for CodeIgniter 4 framework

8140.9k](/packages/michalsn-codeigniter-htmx)[codeigniter/phpstan-codeigniter

CodeIgniter extensions and rules for PHPStan

17457.2k30](/packages/codeigniter-phpstan-codeigniter)[luthier/luthier

Improved routing, middleware support, authentication tools and more for CodeIgniter 3 framework

150108.8k](/packages/luthier-luthier)[tatter/frontend

Opinionated suite of frontend tech for CodeIgniter 4

125.3k](/packages/tatter-frontend)[monken/tablesigniter

CodeIgniter4 starter app

133.2k](/packages/monken-tablesigniter)

PHPackages © 2026

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