massive / web-twig-extensions
The web twig extension for web-js component management
v1.5.0
2018-12-21 12:05 UTC
Requires
- php: ~5.5 || ~7.0
- twig/twig: ^1.11 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.11
- phpunit/phpunit: ^5.0 || ^6.0 || ^7.0
- symfony/intl: ^2.8 || ^3.0 || ^4.0
- symfony/property-access: ^2.8 || ^3.0 || ^4.0
Suggests
- symfony/intl: The IntlTwigExtension requires the symfony/intl service.
- symfony/property-access: The ImageTwigExtension requires the symfony/property-access service.
README
Installation
composer require massive/web-twig-extensions ^1.0
Extensions
1. Component
The web component twig extension in connection with web-js gives you simple and efficient way to handle your javascript components over twig.
2. Image
The web image twig extension gives you a simple and efficient way to handle your image over twig.
3. Intl
The web intl twig extension gives you a simple and efficient way to get country, languages and locales in a specific language.
4. count
The web count twig extension gives you a simple and efficient way to have a global counter in your twig template.
5. Url
The web url twig extension gives you a simple and efficient way to get specific parts of urls.