varmad / laravel-haml
HAML templating for Laravel
Installs: 88
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/varmad/laravel-haml
Requires
- php: >=5.3.0
 - illuminate/support: 4.0.x
 - mthaml/mthaml: dev-master
 - twig/extensions: 1.0.*@dev
 - twig/twig: 1.12.*@dev
 
This package is not auto-updated.
Last update: 2025-10-21 05:52:56 UTC
README
Begin by installing this package through Composer. Edit your project's composer.json file to require varmad/laravel-haml.
It might look something like:
"require": { "laravel/framework": "4.0.*", "varmad/laravel-haml": "dev-master", }
Next, update Composer from the Terminal:
composer update
Once this operation completes, add the service provider. Open app/config/app.php, and add a new item to the providers array.
    'Varmad\LaravelHaml\LaravelHamlServiceProvider'
Usage
Creating a view file
    filename.haml.php(hello.haml.php)
Rendering form the controller
    public function index() {
	return View::make('hello');
}