2017 © Pedro Peláez
 

library slim-mustache

Mustache View Parser package for the Slim Framework

image

dearon/slim-mustache

Mustache View Parser package for the Slim Framework

  • Friday, June 6, 2014
  • by Dearon
  • Repository
  • 2 Watchers
  • 13 Stars
  • 2,228 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

Slim Mustache

This repository contains a custom View class for Mustache.php. You can use the custom View class by either requiring the appropriate class in your Slim Framework bootstrap file and initialize your Slim application using an instance of the selected View class or using Composer (the recommended way)., (*1)

How to Install

using Composer

Create a composer.json file in your project root:, (*2)

{
    "require": {
        "dearon/slim-mustache": "0.1.*"
    }
}

Then run the following composer command:, (*3)

$ php composer.phar install

How to use

<?php
require 'vendor/autoload.php';

$app = new \Slim\Slim(array(
    'view' => new \Slim\Mustache\Mustache()
));

To use Mustache options do the following:, (*4)

$view = $app->view();
$view->parserOptions = array(
    'charset' => 'ISO-8859-1'
);

Authors

Remco Meeuwissen, (*5)

License

MIT Public License, (*6)

The Versions

06/06 2014

dev-master

9999999-dev http://github.com/dearon/Slim-Mustache

Mustache View Parser package for the Slim Framework

  Sources   Download

MIT

The Requires

 

templating extensions mustache slimphp

06/06 2014

0.1.1

0.1.1.0 http://github.com/dearon/Slim-Mustache

Mustache View Parser package for the Slim Framework

  Sources   Download

MIT

The Requires

 

templating extensions mustache slimphp

06/03 2014

0.1.0

0.1.0.0 http://github.com/dearon/Slim-Mustache

Mustache View Parser package for the Slim Framework

  Sources   Download

MIT

The Requires

 

templating extensions mustache slimphp