core23 / twig-extensions
Useful extensions for twig.
Fund package maintenance!
core23
Opencollective
Ko-Fi
Other
Installs: 10 024
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 2
Requires
- php: ^7.2
- ext-pcre: *
- sonata-project/datagrid-bundle: ^2.3 || ^3.0
- symfony/routing: ^4.2 || ^5.0
- symfony/translation-contracts: ^1.1 || ^2.0
- twig/twig: ^2.4
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.3
- ergebnis/composer-normalize: ^2.0.1
- symfony/browser-kit: ^4.4 || ^5.0
- symfony/config: ^4.2 || ^5.0
- symfony/dependency-injection: ^4.2 || ^5.0
- symfony/expression-language: ^4.2 || ^5.0
- symfony/framework-bundle: ^4.2 || ^5.0
- symfony/http-kernel: ^4.2 || ^5.0
- symfony/intl: ^4.2 || ^5.0
- symfony/polyfill-intl-icu: ^1.13
- symfony/twig-bridge: ^4.2 || ^5.0
- symfony/twig-bundle: ^4.2 || ^5.0
Suggests
- symfony/framework-bundle: If you want to use symfony
Conflicts
- symfony/framework-bundle: <4.2
This package is auto-updated.
Last update: 2020-06-28 09:32:46 UTC
README
Useful extensions for twig.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:
composer require core23/twig-extensions
Symfony usage
If you want to use this library inside symfony, you can use a bridge.
Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php
file of your project:
// config/bundles.php return [ // ... Core23\Twig\Bridge\Symfony\Bundle\Core23TwigBundle::class => ['all' => true], ];
License
This library is under the MIT license.