/slim-jade

Enables use of the jade preprocessor together with the Slim Framework

Primary LanguagePHPMIT LicenseMIT

#Jade for Slim framework Build Status

This is a helper for the Slim framework, that allows the use of jade-php, together with Slim

Install

Via Composer

$ composer require jlndk/slim-jade

Requires Slim Framework 3 and PHP 5.4.0 or newer.

How to use

The Jade Syntax Reference
Jade-php
<?php
require 'vendor/autoload.php';

$app = new \Slim\Slim(array(
    'view' => new \Jlndk\SlimJade\Jade()
));

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.