sulu / web-twig
The web twig extension for web-js component management
Installs: 199 598
Dependents: 3
Suggesters: 0
Security: 0
Stars: 43
Watchers: 19
Forks: 7
Open Issues: 5
Requires
- php: ^7.1 || ^8.0
- twig/twig: ^1.38 || ^2.7 || ^3.0
Requires (Dev)
- jangregor/phpstan-prophecy: ^1.0
- php-cs-fixer/shim: ^3.64
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^7.5 || ^8.5
- symfony/intl: ^2.8 || ^3.0 || ^4.0 || ^5.0 || ^6.0
- symfony/property-access: ^2.8 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0
- thecodingmachine/phpstan-strict-rules: ^1.0
Suggests
- symfony/intl: The IntlExtension requires the symfony/intl service.
- symfony/property-access: The ImageExtension requires the symfony/property-access service.
Conflicts
- symfony/intl: >=8.0
- symfony/property-access: >=8.0
README
Installation
composer require sulu/web-twig
Extensions
1. Component
The web component extension in connection with web-js gives you simple and efficient way to handle your javascript components over twig.
2. Image
The web image extension gives you a simple and efficient way to handle your image over twig.
3. Intl
The web intl extension gives you a simple and efficient way to get country, languages and locales in a specific language.
4. Count
The web count extension gives you a simple and efficient way to have a global counter in your twig template.
5. Url
The web url extension gives you a simple and efficient way to get specific parts of urls.
6. Editor
The web editor extension gives you a simple way to add classes on html provided by a text editor.
7. Icon
The icon extension gives you a simple way to render icomoon icons.
8. Portal
The portal extension brings react portal feature to twig.