zenstruck/twig-service-bundle (packagist): Make functions, static methods, Symfony service methods available in your twig templates.
Keywords: dependency injection|twig|service