2017 © Pedro Peláez
 

symfony-bundle twital-bundle

Twital templating engine Symfony Bundle

image

goetas/twital-bundle

Twital templating engine Symfony Bundle

  • Thursday, June 14, 2018
  • by goetas
  • Repository
  • 2 Watchers
  • 17 Stars
  • 1,896 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 14 Versions
  • 4 % Grown

The README.md

Build Status Scrutinizer Quality Score Code Coverage GitHub license Packagist, (*1)

TwitalBundle (Twital with Symfony)

TwitalBundle is a Symfony bundle that integrates the Twital template engine into Synfony2 framework. This enables you to use all Twig/Symfony functionalities with the Twital template engine language syntax., (*2)

To learn more about Twital, you can read the dedicated documentation., (*3)

Install

The recommended way to install TwitalBundle is using Composer:, (*4)

composer require 'goetas/twital-bundle'

If you are using Symfony Flex, the bundle will be automatically enabled and configured, otherwise follow the next steps., (*5)

Enable the bundle

To enable the bundle in the kernel:, (*6)

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Goetas\TwitalBundle\GoetasTwitalBundle(),
        //..
    );
}

Configure

In order to make it work, you have to enable the twital template engine inside your config.yml., (*7)

framework:
    templating:
        engines: ['twig', 'twital']

#optional configurations for file extension matching 
goetas_twital:
    source_adapter:
        - { service: twital.source_adapter.xml, pattern: ['/\.xml\.twital$/', '/\.atom\.twital$/'] }
        - { service: twital.source_adapter.html5, pattern: ['/\.html\.twital$/', '/\.htm\.twital$/'] }
        - { service: twital.source_adapter.xhtml, pattern: ['/\.xhtml\.twital$/'] }    

Documentation

Go here http://twitalbundle.readthedocs.org/ to read a more detailed documentation about TwitalBundle., (*8)

Integration

TwitalBundle comes with all features that are already supported by TwigBundle (forms, translations, assetic, routing, etc)., (*9)

The Versions

14/06 2018
14/06 2018
04/03 2018

v1.3.1

1.3.1.0 https://github.com/goetas/twital-bundle

Twital templating engine Symfony Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Asmir Mustafic

templating twig php xml symfony

04/03 2018

v1.3.0

1.3.0.0 https://github.com/goetas/twital-bundle

Twital templating engine Symfony Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Asmir Mustafic

templating twig php xml symfony

04/03 2018

dev-sf4-again

dev-sf4-again https://github.com/goetas/twital-bundle

Twital templating engine Symfony Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Asmir Mustafic

templating twig php xml symfony

12/09 2017

dev-goetas-build

dev-goetas-build https://github.com/goetas/twital-bundle

Twital templating engine Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Asmir Mustafic

templating twig php xml symfony

10/01 2017
21/12 2015

0.1.2

0.1.2.0 https://github.com/goetas/twital-bundle

Twital templating engine Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Asmir Mustafic

templating twig php xml symfony

01/08 2014

0.1.1

0.1.1.0 https://github.com/goetas/twital-bundle

Twital templating engine Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Asmir Mustafic

templating twig php xml symfony

21/05 2014

0.1.0

0.1.0.0 https://github.com/goetas/twital-bundle

Twital templating engine Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Asmir Mustafic

templating twig php xml symfony

08/04 2014

0.1.0-beta

0.1.0.0-beta https://github.com/goetas/twital-bundle

Twital templating engine Symfony2 Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Asmir Mustafic

templating twig php xml symfony