Haml, Sass and Scss for Kohana 3
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes/controller
config
guide/faker
vendor/phamlp
LICENSE
README.md
init.php

README.md

K3-PHamlP Module

A Ko3 Module by John Hobbs

THIS IS PRE-RELEASE SOFTWARE, DO NOT USE IN PRODUCTION

Introduction

This module provides access to Haml, Sass and Scss via the PHamlP library.

It's pretty incomplete at the moment, but should be pretty rad once it is finished.

Installation

K3-PHamlP setup is easy.

  1. Drop the source in your MODPATH folder.
  2. Add the module to Kohana::modules in your bootstrap.php
  3. (Optional) Copy and edit config/phamlp.php

Usage

Currently only Sass/Scss is working. To use it, place your SCSS files in DOCROOT . 'public/sass'. This path can be configured in config/phamlp.php

Then, just request '/sass/[your sass file]' to get the rendered version.

Nesting directories work fine.