Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mthaml composer package with Laravel 4 - Howto?

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

Update: A fresh implementation of Laravel 4 using HAML(MtHaml) is being tested. You can get it at my Github repo and test it out.

Note: Mind that at this stage only the HAML/PHP engine is working, thus template inheritance is not yet working. For template inheritance to work MtHaml needs to be run through the HAML/Twig engine which then will give us all of Twigs Template Engines power and a really nice OOP-like syntax for our loops and such.

If anyone likes to help out with finishing the package to include Twig for a fully functional Template Engine feel free to Fork and Pull!! :D

Thank you.

like image 455
Villi Magg Avatar asked Feb 09 '13 13:02

Villi Magg


2 Answers

Does it need to be any more complicated than using the Composer package?

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

like image 173
Phil Sturgeon Avatar answered Oct 05 '22 22:10

Phil Sturgeon


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

like image 23
weotch Avatar answered Oct 05 '22 23:10

weotch