boekkooi / twig-jack-bundle
Handy additional features for Twig within symfony 2
Installs: 22 690
Dependents: 0
Suggesters: 0
Security: 0
Stars: 23
Watchers: 4
Forks: 7
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=5.3.3
- symfony/dependency-injection: ~2.3|~3.0
- symfony/finder: ~2.3|~3.0
- symfony/framework-bundle: ~2.3|~3.0
- symfony/twig-bundle: ~2.3|~3.0
- symfony/yaml: ~2.3|~3.0
- twig/twig: ~1.15|~2.0
Requires (Dev)
- doctrine/common: ~2.2
- fabpot/php-cs-fixer: 1.6.2
- matthiasnoback/symfony-dependency-injection-test: ^0.7
- phpunit/phpunit: 4.6.4
- phpunit/phpunit-mock-objects: 2.3.1
- symfony/assetic-bundle: ~2.3
- symfony/validator: ~2.3, >=2.3.19|~3.0
Suggests
- doctrine/common: Needed to use the twig doctrine loader functionality.
- symfony/validator: Allows the twig constraint to be used
README
This repository hosts Twig Extensions and Template tweaks for the symfony 2 framework.
BoekkooiTwigJackBundle is using Semantic Versioning starting with version 1.1.0.
Fork this repository, add your extension, and request a pull.
Install and configure
composer require boekkooi/twig-jack-bundle dev-master
The Defer Block
A defer/append twig block. more...
The Exclamation Syntax
Use {% extends "!@<bundle>" %}
to inherit from the root bundle. more...
The Doctrine Loader
Add one or multiple doctrine/database template loaders to twig with optional translation support. more...
Twig syntax constraint
Validate that a string is a valid twig template. more...