Mthaml Composer Package with Laravel 4 - Howto?

Original: Did anyone understand, or is anyone interested in helping me figure out how to use haml with Laravel 4?

Update: A new version of Laravel 4 is being tested using HAML ( MtHaml ). You can get it my Github rehearsal and check it out.

Note: Keep in mind that only the HAML / PHP engine works at this stage, so template inheritance does not work yet. To inherit templates for MtHaml to work, you need to run it through the HAML / Twig engine, which then provides us with all the features of Twigs Template Engines and really good OOP-like syntax for our loops, etc.

If someone likes helping out with the package to enable Twig for a fully functional template engine, feel free to fork and pull !: D

Thanks.

+6
source share
3 answers

Does it need to be harder than using Composer?

https://github.com/arnaud-lb/MtHaml

+2
source

I just created this because I wanted to get into HAML in a project. Let me know if this works for your needs: https://github.com/BKWLD/laravel-haml

+1
source

I managed to get Laravel 4 to work with the Jade zoni implementation ( https://github.com/dz0ny/jade.php ), let me know if you are interested.

It works with template inheritance using the Blade Engine.

0
source

All Articles