PHPackages                             dmwg/am\_custom\_formatters - 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. dmwg/am\_custom\_formatters

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

dmwg/am\_custom\_formatters
===========================

Custom formatters for our fields.

1.1.0(10mo ago)045[2 PRs](https://github.com/dmwg/am_custom_formatters/pulls)GPL-2.0-or-laterPHPPHP &gt;=8.2CI passing

Since Oct 30Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/dmwg/am_custom_formatters)[ Packagist](https://packagist.org/packages/dmwg/am_custom_formatters)[ Docs](https://github.com/dmwg/am_custom_formatters)[ RSS](/packages/dmwg-am-custom-formatters/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (8)Used By (0)

Custom field formatters for Africa Multiple WissKI
==================================================

[](#custom-field-formatters-for-africa-multiple-wisski)

[![CI workflow](https://github.com/dmwg/am_custom_formatters/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/dmwg/am_custom_formatters/actions/workflows/ci.yaml/badge.svg?branch=main) [![Packagist Version](https://camo.githubusercontent.com/f5270001dca5b9bb9b5da41bdf8663cf68d8cce9a6e83734325378302e317c37/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646d77672f616d5f637573746f6d5f666f726d617474657273)](https://packagist.org/packages/dmwg/am_custom_formatters) [![Packagist Downloads](https://camo.githubusercontent.com/bc5984bfcdb444660f27e5fbb73c66e31f15ba37f629cf7bdc3fcfe9f4c945a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646d77672f616d5f637573746f6d5f666f726d617474657273)](https://packagist.org/packages/dmwg/am_custom_formatters) [![GitHub License](https://camo.githubusercontent.com/7e3687b3819ea5e7f3c0a8b15f2ccc4aa1438fa69c3f8ee77027feaa46f475d2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646d77672f616d5f637573746f6d5f666f726d617474657273)](https://packagist.org/packages/dmwg/am_custom_formatters) [![Packagist Dependency Version](https://camo.githubusercontent.com/b917a0fb9ac86de03c144df81b9d948aabe7838a55f72e2ecebce90d8ac09749/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f646d77672f616d5f637573746f6d5f666f726d6174746572732f706870)](https://packagist.org/packages/dmwg/am_custom_formatters)

Custom field formatters for dealing with things that are strings, but should display as something else. We require this approach over using `image` or `uri`type fields, as a third-party API we depend on can't handle these fields types, and only accepts plain strings.

Requirements
------------

[](#requirements)

- PHP `^8.2`
- `drupal/core` (tested on `10.3`)[1](#user-content-fn-1-d96226ff3c6081e16dd21e0e91065d17)

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

[](#installation)

```
# composer require dmwg/am_custom_formatters
```

Usage
-----

[](#usage)

1. Enable this module, either via `/admin/modules`, or `drush pm:install am_custom_formatters`
2. Set the desired field's display formatter to one provided by this package
3. `drush cr`
4. ???
5. Profit!

Contributing
------------

[](#contributing)

We welcome all and any contributions via Pull Requests to this repository!

### Local development environment

[](#local-development-environment)

For local development, it is **highly recommended** to install this module into an existing Drupal codebase, e.g., under `web/modules/custom`.

The following example assumes an installation, and clones into `web/modules/custom`:

```
# cd /web/modules/custom
# git clone https://github.com/dmwg/am_custom_formatters
# cd am_custom_formatters
# composer install
```

### Linting &amp; Static analysis

[](#linting--static-analysis)

Please run `vendor/bin/phpcs --standard=Drupal` and fix any flagged errors; `vendor/bin/phpcbf --standard=Drupal src` can assist.

Please run `vendor/bin/phpstan` and fix any errors; don't let a failing build discourage you, we'll try and figure it out in the PR.

Authors and acknowledgment
--------------------------

[](#authors-and-acknowledgment)

- `Oliver Baumann `
    - Maintenance

Project status
--------------

[](#project-status)

Alive, but dormant.

Footnotes
---------

1. Older versions might work fine. [↩](#user-content-fnref-1-d96226ff3c6081e16dd21e0e91065d17)

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance74

Regular maintenance activity

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~63 days

Total

5

Last Release

303d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c41910c650f05b98fff6b8c345bfc8b3b04d2df4631f46d8203620039893248?d=identicon)[baumanno](/maintainers/baumanno)

---

Top Contributors

[![baumanno](https://avatars.githubusercontent.com/u/1183339?v=4)](https://github.com/baumanno "baumanno (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dmwg-am-custom-formatters/health.svg)

```
[![Health](https://phpackages.com/badges/dmwg-am-custom-formatters/health.svg)](https://phpackages.com/packages/dmwg-am-custom-formatters)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)

PHPackages © 2026

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