| Package Data | |
|---|---|
| Maintainer Username: | varmad |
| Maintainer Contact: | srinivasavarma.d@gmail.com (Srinivasa Varma) |
| Package Create Date: | 2013-11-23 |
| Package Last Update: | 2013-11-23 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-15 03:01:27 |
| Package Statistics | |
|---|---|
| Total Downloads: | 88 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
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'
Creating a view file
filename.haml.php(hello.haml.php)
Rendering form the controller
public function index() {
return View::make('hello');
}