PHPackages                             mthaml/silex-mthaml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mthaml/silex-mthaml

AbandonedLibrary

mthaml/silex-mthaml
===================

HAML templating for Silex

1.0.1(13y ago)86661[1 issues](https://github.com/arnaud-lb/Silex-MtHaml/issues)MITPHP

Since Mar 29Pushed 9y ago3 watchersCompare

[ Source](https://github.com/arnaud-lb/Silex-MtHaml)[ Packagist](https://packagist.org/packages/mthaml/silex-mthaml)[ RSS](/packages/mthaml-silex-mthaml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Silex-MtHaml
============

[](#silex-mthaml)

[HAML](http://haml-lang.com/) templating for Silex using the [MtHaml PHP HAML parser](https://github.com/arnaud-lb/MtHaml).

Features
--------

[](#features)

- **Acts as a Twig preprocessor**: Supports Twig functions, filters, macros, blocks, inheritance, expressions and every Twig features
- **Mix Twig and HAML templates**: You can include, extend, use and import Twig templates from HAML templates, and vice versa.
- **High performance**: Templates are compiled to PHP code and cached, no parsing or runtime overhead.
- **HAML syntax** supported by editors

Installation
------------

[](#installation)

Install using composer:

```
$ composer require mthaml/silex-mthaml:*

```

Then register the service provider:

```
