PHPackages                             setono/tag-bag - 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. setono/tag-bag

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

setono/tag-bag
==============

Inject dynamic tags programmatically

v2.4.0(1y ago)3422.9k↓24.6%311MITPHPPHP &gt;=8.1CI passing

Since Jul 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Setono/tag-bag)[ Packagist](https://packagist.org/packages/setono/tag-bag)[ RSS](/packages/setono-tag-bag/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (22)Used By (11)

Tag Bag - Inject dynamic tags programmatically
==============================================

[](#tag-bag---inject-dynamic-tags-programmatically)

[![Latest Version](https://camo.githubusercontent.com/60e8732e6afdf59b0d1ccd748a2220f8062818d3ca054ebbc53c9cfce5ad6949/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f7461672d6261672f762f737461626c65)](https://packagist.org/packages/setono/tag-bag)[![Software License](https://camo.githubusercontent.com/cb1f6e87fb2f298be7a31dea955484fac749e37ff0b707d1a76c3d38e7e42778/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f7461672d6261672f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/tag-bag/workflows/build/badge.svg)](https://github.com/Setono/tag-bag/actions)[![Code Coverage](https://camo.githubusercontent.com/1f3541df0a2c36e5f27a6a036be7b4fa4671f581ce54b8095932ace2e6c331c5/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f7461672d6261672f6272616e63682f322e782f67726170682f62616467652e737667)](https://codecov.io/gh/Setono/tag-bag)[![Mutation testing](https://camo.githubusercontent.com/ff88ab3a09c8f85098e64290646e9fd5acfc5534f403cc21f21c11475e3752a1/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532465365746f6e6f2532467461672d626167253246322e78)](https://dashboard.stryker-mutator.io/reports/github.com/Setono/tag-bag/2.x)

Tag bag is an object oriented and very extendable way of adding content/tags to your pages.

A very common use case for the tag bag is tracking events on your pages.

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

[](#installation)

```
composer require setono/tag-bag
```

Basic usage
-----------

[](#basic-usage)

```
