jmf / twig-currency
Twig extension for handling currency in Twig templates.
1.0.0
2024-06-05 17:27 UTC
Requires
- php: >=8.3
- twig/twig: ^3.0
Requires (Dev)
- phing/phing: ^2.17
- phpmd/phpmd: ^2.13
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^11.1
- rector/rector: ^1.0
- squizlabs/php_codesniffer: ^3.8
README
Installation & Requirements
Install with Composer:
composer require jmf/twig-currency
Usage in Twig templates
money_amount() filter
{{ price|money_amount }}