dev-master
9999999-devHAML templating for Laravel
MIT
The Requires
- php >=5.3.0
- illuminate/support 4.0.x
- mthaml/mthaml dev-master
- twig/twig 1.12.*@dev
- twig/extensions 1.0.*@dev
by Srinivasa Varma
Wallogit.com
2017 © Pedro Peláez
HAML templating for Laravel
Begin by installing this package through Composer. Edit your project's composer.json file to require varmad/laravel-haml., (*1)
It might look something like:, (*2)
"require": {
"laravel/framework": "4.0.*",
"varmad/laravel-haml": "dev-master",
}
Next, update Composer from the Terminal:, (*3)
composer update
Once this operation completes, add the service provider. Open app/config/app.php, and add a new item to the providers array., (*4)
'Varmad\LaravelHaml\LaravelHamlServiceProvider'
Creating a view file, (*5)
filename.haml.php(hello.haml.php)
Rendering form the controller, (*6)
public function index() {
return View::make('hello');
}
HAML templating for Laravel
MIT