PHPackages                             watson/taggly - 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. watson/taggly

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

watson/taggly
=============

A modern port of the old CodeIgniter Taggly library.

1.1.3(8y ago)61.4k↓100%5[1 issues](https://github.com/dwightwatson/taggly/issues)MITPHPPHP &gt;=5.4.0

Since Jul 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dwightwatson/taggly)[ Packagist](https://packagist.org/packages/watson/taggly)[ RSS](/packages/watson-taggly/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Taggly, a tag cloud generator
=============================

[](#taggly-a-tag-cloud-generator)

Taggly is a modern port of the old CodeIgniter Taggly library by [Gavin Vickery](http://qompile.com/resources-downloads). Packaged with a service provider and facade for Laravel, this package is totally framework agnostic and will help you to generate tag clouds just like the cool kids. Note, styling the cloud is up to you!

Installation
============

[](#installation)

Simply add the package to your `composer.json` file and run `composer update`.

```
"watson/taggly": "1.0.*"

```

If you're using Laravel, be sure to register the service provider and facade if you would like to use those.

Under providers:

```
'Watson\Taggly\TagglyServiceProvider',

```

And under aliases:

```
'Tag' => 'Watson\Taggly\TagFacade',

```

Overview
--------

[](#overview)

First, let's look at what makes up a tag in Taggly. A tag is made up of 3 things:

- the tag name
- the number of times it occurs, or it's weight
- the path it should link to (optional)

You can either use an associative array or a `Watson\Taggly\Tag` object to represent a single tag. Here is how you represent a tag as an associative array:

```
$tag = array('tag' => 'Laravel', 'count' => 4, 'url' => 'https://www.laravel.com');

```

Simply passing this array to a new Tag object to use an object instead.

```
$tag = new Watson\Taggly\Tag($tag);

```

Once you have a collection of tags, you can pass them to Taggly and generate a cloud.

```
$taggly = new Watson\Taggly\Taggly;
$taggly->setTags([$tag1, $tag2, ...]);

echo $taggly->cloud();

```

You can also just pass the tags to the `cloud()` method, which is great if you're using the facade too.

```
Tag::cloud($tags);

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

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 ~285 days

Total

5

Last Release

3166d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd087ea19adfd1f2d44b471f0f4e7075346a8b7c1d5acbccb20ff9fc3815bccd?d=identicon)[dwightwatson](/maintainers/dwightwatson)

---

Top Contributors

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

---

Tags

laravelcloudtagtaggly

### Embed Badge

![Health badge](/badges/watson-taggly/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

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

14.9k123.0M683](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

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

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

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