PHPackages                             flaviovs/ubadges-php - 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. flaviovs/ubadges-php

ActiveLibrary

flaviovs/ubadges-php
====================

ubadges for PHP

1.1.0(7y ago)0968MITPHP

Since Apr 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/flaviovs/ubadges-php)[ Packagist](https://packagist.org/packages/flaviovs/ubadges-php)[ RSS](/packages/flaviovs-ubadges-php/feed)WikiDiscussions master Synced 2d ago

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

ubadges for PHP
===============

[](#ubadges-for-php)

See  for more details about ubadges.

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

[](#installation)

Install using composer:

```
$ composer require flaviovs/ubadges-php
```

Usage
=====

[](#usage)

- `\fv\ubadges\UBadges::getDimensionValues($name, $extra = null)` - returns a 3-elements array with standard ubadges dimension values for name `$name` and optional extra string data `$extra`.
- `\fv\ubadges\UBadges::getCssClasses($name, $extra = null)` - returns a 3-elements array with standard CSS classes for name `$name` and optional extra string data `$extra`.
- `\fv\ubadges\UBadges::render($name, $extra = null, $initials = null)` - returns a ubadge using HTML `SPAN` element for for name `$name` and optional extra string data `$extra`, ready for inclusion in a HTML page.

Bugs? Critics? Suggestions?
===========================

[](#bugs-critics-suggestions)

Please visit

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

2

Last Release

2593d ago

### Community

Maintainers

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

---

Top Contributors

[![flaviovs](https://avatars.githubusercontent.com/u/1832699?v=4)](https://github.com/flaviovs "flaviovs (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/flaviovs-ubadges-php/health.svg)

```
[![Health](https://phpackages.com/badges/flaviovs-ubadges-php/health.svg)](https://phpackages.com/packages/flaviovs-ubadges-php)
```

PHPackages © 2026

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