PHPackages                             salesfusion-dev/slim-views - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. salesfusion-dev/slim-views

ActiveLibrary[Templating &amp; Views](/categories/templating)

salesfusion-dev/slim-views
==========================

Smarty and Twig View Parser package for the Slim Framework

0.2.0(5y ago)085MITPHPPHP &gt;=5.3.0

Since Jul 10Pushed 5y agoCompare

[ Source](https://github.com/salesfusion-dev/Slim-Views)[ Packagist](https://packagist.org/packages/salesfusion-dev/slim-views)[ Docs](http://github.com/codeguy/Slim-Views)[ RSS](/packages/salesfusion-dev-slim-views/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (7)Used By (0)

Slim Views
==========

[](#slim-views)

This repository contains custom View classes for the template frameworks listed below. You can use any of these custom View classes 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).

Slim Views only officially support the following views listed below.

- Smarty
- Twig

How to Install
--------------

[](#how-to-install)

#### using [Composer](http://getcomposer.org/)

[](#using-composer)

Install in your project by running the following composer command:

```
$ php composer require slim/views
```

Smarty
------

[](#smarty)

### How to use

[](#how-to-use)

```
