appolodev/sf-toolbox

Toolbox for Symfony


README

This package add some tools for developers who use Symfony

Domain

TODO: Create documentation

Twig

Intl Extension

Configuration

Put this inside service:

AppoloDev\SFToolbox\Twig\IntlExtension:
    tags:
        - { name: twig.extension }

Usage

{{ date|localizeddate('d LLLL', 'fr') }}

Formats can be found here