Giter Site home page Giter Site logo

html.renderer.twig-extensions's Introduction

Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality

What is this package?

This package contains a set of classes to make Twig easier to use inside Mouf.

Twig extensions

It contains a set of Twig extensions that can be used to add useful features in Mouf. For instance: ValueInterface and HtmlElementInterface evaluation in the Twig template, or I18n using Fine, in the template.

Extended Twig_Environment

The Twig_Environment is overloaded in order to be easier to configure from Mouf (the constructor proposes a set of arguments rather than a simple array).

Also, this package contains an installer that will create a Twig_Environment instance you can directly use.

Mouf package

This package is part of Mouf (http://mouf-php.com), an effort to ensure good developing practices by providing a graphical dependency injection framework.

html.renderer.twig-extensions's People

Contributors

cbalda avatar homersimpsons avatar lenafaure avatar moufmouf avatar nguyenk avatar npeguin avatar stof avatar xhuberty avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

html.renderer.twig-extensions's Issues

Provide an integration with Twig_Util_DeprecationCollector to report deprecated Twig features.

Reported by @stof at #17:

does Mouf support reporting deprecations using the convention introduced in symfony (i.e. @trigger_error('...', E_USER_DEPRECATED), so that error handlers not supporting the convention don't convert the deprecation warning to an exception thus breaking things) ?
If no, you should probably provide an integration of the Twig_Util_DeprecationCollector, to find usage of deprecated Twig features

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.