PHPackages                             wartron/yii2-helpers-formatter - 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. wartron/yii2-helpers-formatter

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

wartron/yii2-helpers-formatter
==============================

Yii2 Formatter

121PHP

Since Aug 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/wartron/yii2-helpers-formatter)[ Packagist](https://packagist.org/packages/wartron/yii2-helpers-formatter)[ RSS](/packages/wartron-yii2-helpers-formatter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Helpers - Formatter
========================

[](#yii2-helpers---formatter)

This is a custome formatter that provides shortcuts to two formats I use in my projects. `hex` and `cent`.

`asHex` will return an uppercase hex string from the value

`asCent` will return asCurrency but with the $value/100

To use these formatters, set the formatter copmponent in your config/web.php or config/main.php depending on your yii2 app structure.

```
'formatter' => [
    'class' => '\wartron\yii2helpers\formatter\Formatter'
],

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/713638?v=4)[William Wharton](/maintainers/wartron)[@wartron](https://github.com/wartron)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wartron-yii2-helpers-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/wartron-yii2-helpers-formatter/health.svg)](https://phpackages.com/packages/wartron-yii2-helpers-formatter)
```

###  Alternatives

[matomo/searchengine-and-social-list

Search engine and social network definitions used by Matomo (formerly Piwik)

741.2M20](/packages/matomo-searchengine-and-social-list)[tigrang/cakephp-datatable

CakePHP DataTable Plugin

465.2k](/packages/tigrang-cakephp-datatable)

PHPackages © 2026

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