jlndk/slim-jade

Enables use of the jade preprocessor together with the Slim Framework

0.0.1 2015-06-12 17:58 UTC

This package is auto-updated.

Last update: 2024-10-29 04:31:01 UTC


README

#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.