Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 653 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 653 Bytes

Twig Roman Numerals Extension

Tests

A Twig extension for converting roman to arabic numerals and vice-versa.

Installation

composer require emilmassey/twig-roman-numerals

Usage

For Symfony usage you'll want to add it as a service and tag it for Twig.

# config/services.yml
services:
    twig.extension.roman_numerals:
        class: EmilMassey\Twig\RomanNumerals\RomanNumeralsExtension
        tags:
            - { name: twig.extension }