Developed with love by KnpLabs Hire us for your project!
46

TwigJackBundle

by boekkooi

Handy additional features for Twig within symfony 2

Twig Jack Repository

Build Status
Code Coverage
Scrutinizer Code Quality
Total Downloads
Latest Stable Version
License
Reference Status
SensioLabsInsight

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...

The MIT License (MIT)

Copyright (c) 2014 Warnar Boekkooi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
  • Fixed AsseticTwigLoader patching to use the correct service
    By boekkooi, 4 years ago
  • [Travis] Removed testing on PHP 5.3.3
    By boekkooi, 4 years ago
  • Moved service patching to the DI compiler (related to #5).
    By boekkooi, 4 years ago
  • Symfony 3 fixed issue related to https://github.com/symfony/symfony/issues/11881
    By boekkooi, 5 years ago
  • Travis PHP 7 is release so no failures allowed
    By boekkooi, 5 years ago
  • Symfony 3 compatible
    By boekkooi, 5 years ago
  • Added Reference Status badge
    By boekkooi, 5 years ago
  • Travis use container based env
    By boekkooi, 5 years ago
  • Fixed PHP 5.5 > code
    By boekkooi, 5 years ago
  • Initial twig 2.0 support
    By boekkooi, 5 years ago
  • [Travis] I think they have a bad version in php 5.3.3
    By boekkooi, 5 years ago
  • And another missing use
    By boekkooi, 5 years ago
  • Added missing use
    By boekkooi, 5 years ago
  • Fixed a problem with assetics not loading base styles
    By boekkooi, 5 years ago
  • Added inherit template to cached paths
    By boekkooi, 5 years ago
  • Improved TemplateReference
    By boekkooi, 5 years ago
  • Update doctrine/common dev dependecie
    By boekkooi, 5 years ago
  • Package tweaks
    By boekkooi, 5 years ago
  • Code style PSR2
    By boekkooi, 5 years ago
  • Hopefully fixed PHPUnit being a .....
    By boekkooi, 5 years ago
  • Fixed phpunit issue
    By boekkooi, 5 years ago
  • Upped symfony/validator dev constraint
    By boekkooi, 5 years ago
  • Added dependency-injection requirement
    By boekkooi, 5 years ago
  • Added YAML requirement
    By boekkooi, 5 years ago
  • Fixed tests
    By boekkooi, 5 years ago
  • Avoid Symfony 2.7 deprecation errors
    By boekkooi, 5 years ago
  • Fixed invalid argument for `setFactoryService`
    By boekkooi, 5 years ago
  • Fixed a bug where the unique name was not unique
    By boekkooi, 6 years ago
  • Ignore deprecated warnings in tests
    By boekkooi, 6 years ago
  • Defer added offset argument
    By boekkooi, 6 years ago