Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
simple example using Slim with MtHaml
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
MtHaml
Slim
tmp/compiled_views
views
.gitignore
.htaccess
Readme.md
index.php

Readme.md

Slim example using MtHaml

Just a simple example using Slim with MtHaml

Configuration

Slim needs apache .htaccess enabled (ex: AllowOverride All), for nginx search google (slim nginx htaccess) :)

Install

You need to setup open read/write permissions to tmp directory:

chmod -R a+rw tmp

Features

  • slim framework
  • reads external haml and php templates (in /views)
  • caches compiled haml templates for speed

foreword

You know what? It has been very long time since I haven't touched php and after that... with 5.3, apart from some strangeness in the object model and syntax.. I kinda like it ^^ (dont tell anyone!)

Something went wrong with that request. Please try again.