PHPackages                             ivoba/money-twig-extension - 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. [Templating &amp; Views](/categories/templating)
4. /
5. ivoba/money-twig-extension

ActiveLibrary[Templating &amp; Views](/categories/templating)

ivoba/money-twig-extension
==========================

Twig extension for moneyphp/money

2.0.1(8y ago)560.8k↓61.3%1MITPHPPHP &gt;=5.6

Since Mar 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ivoba/money-twig-extension)[ Packagist](https://packagist.org/packages/ivoba/money-twig-extension)[ Docs](https://www.github.com/ivoba/money-twig-extension)[ RSS](/packages/ivoba-money-twig-extension/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (4)Used By (0)

money-twig-extension
====================

[](#money-twig-extension)

Twig Extension for [Money](https://github.com/moneyphp/money) value object

[![Latest Version on Packagist](https://camo.githubusercontent.com/898076a5b301323cfbecc167a7e9bbdf85bff4dda196129bee1891025bdcedd3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69766f62612f6d6f6e65792d747769672d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ivoba/money-twig-extension)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/8af7ca900f32a46de53af8b700af51eea3565e75ed9fed1813c97a457a75cb78/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f69766f62612f6d6f6e65792d747769672d657874656e73696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ivoba/money-twig-extension)[![Coverage Status](https://camo.githubusercontent.com/6c53671db3bab3db9670bd361ed97f8066796e1f921f2f945ace841ab7708727/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f69766f62612f6d6f6e65792d747769672d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ivoba/money-twig-extension/code-structure)[![Quality Score](https://camo.githubusercontent.com/3e350e52cbafe0f5570a9801486d75bb822ccb25654b74cdfa02fecc8b63dff7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f69766f62612f6d6f6e65792d747769672d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ivoba/money-twig-extension)[![Total Downloads](https://camo.githubusercontent.com/4c0a4ebbd9b54225ee37458940886933755337c480d103ea46bb88505b179b5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69766f62612f6d6f6e65792d747769672d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ivoba/money-twig-extension)

Install
-------

[](#install)

Via Composer

```
$ composer require ivoba/money-twig-extension
```

Usage
-----

[](#usage)

Register the Twig Extension according to the framework you are using.

Symfony Example:

```

```

In your templates use like so:

```
 {{ money.convertedAmount }} 213.23
 {{ money|money_i18n_format('de_DE') }} 1.123,45 €
 {{ money|money_i18n_format('en_US') }} €1,123.45
 {{ money|money_i18n_decimal('en_US') }} 1,123.45
 {{ money|money_currency_symbol('en_US') }} €
 {{ money|money_currency_name('en_US') }} Euro

```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Ivo Bathke](https://github.com/ivoba)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~390 days

Total

3

Last Release

2991d ago

Major Versions

1.0.0 → 2.0.02018-04-27

PHP version history (2 changes)1.0.0PHP &gt;=5.4

2.0.0PHP &gt;=5.6

### Community

Maintainers

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

---

Top Contributors

[![ivoba](https://avatars.githubusercontent.com/u/471254?v=4)](https://github.com/ivoba "ivoba (8 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (1 commits)")

---

Tags

moneytwig

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ivoba-money-twig-extension/health.svg)

```
[![Health](https://phpackages.com/badges/ivoba-money-twig-extension/health.svg)](https://phpackages.com/packages/ivoba-money-twig-extension)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[twig/intl-extra

A Twig extension for Intl

36569.4M357](/packages/twig-intl-extra)[symfony/ux-twig-component

Twig components for Symfony

22018.6M357](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1647.0M128](/packages/symfony-ux-live-component)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)

PHPackages © 2026

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