PHPackages                             mpaleo/view-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. mpaleo/view-tags

ActiveLibrary

mpaleo/view-tags
================

Simple way to tag your Laravel views

v1.0.0(10y ago)43522MITPHPPHP &gt;=5.5.9

Since Feb 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mpaleo/view-tags)[ Packagist](https://packagist.org/packages/mpaleo/view-tags)[ RSS](/packages/mpaleo-view-tags/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (2)

Laravel view tags
=================

[](#laravel-view-tags)

[![Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE)

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

[](#installation)

1. Add the package to your composer.json

    ```
    ...
    "mpaleo/view-tags": "~1.0",
    ...
    ```
2. Update

    ```
    composer update
    ```
3. Add the service provider to the providers array in `{laravel-root}\config\app.php`

    ```
    ...
    ViewTags\ViewTagsServiceProvider::class,
    ...
    ```
4. Add the alias in `{laravel-root}\config\app.php`

    ```
    ...
    'ViewTags' => ViewTags\ViewTags::class,
    ...
    ```

Usage
-----

[](#usage)

### Tag views

[](#tag-views)

```
ViewTags::tag('viewOne', 'someTag');
ViewTags::tag('viewTwo', 'someTag');
ViewTags::tag('viewThree', ['someTag', 'anotherTag']);
```

### Get tagged views

[](#get-tagged-views)

```
ViewTags::taggedWith('someTag');
/* Output:
 * array(3) {
 *   [0] => "viewOne"
 *   [1] => "viewTwo"
 *   [2] => "viewThree"
 * }
 */

ViewTags::taggedWith('anotherTag');
/* Output:
 * array(1) {
 *   [0] => "viewThree"
 * }
 */
```

### License

[](#license)

The view tags package is licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3738d ago

### Community

---

Top Contributors

[![mpaleo](https://avatars.githubusercontent.com/u/5132565?v=4)](https://github.com/mpaleo "mpaleo (5 commits)")

### Embed Badge

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

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

PHPackages © 2026

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