PHPackages                             austp/smarty-slim-view - 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. austp/smarty-slim-view

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

austp/smarty-slim-view
======================

View that allows you to use Smarty with Slim

1.0.0(10y ago)0131MITPHP

Since Oct 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/AustP/smarty-slim-view)[ Packagist](https://packagist.org/packages/austp/smarty-slim-view)[ Docs](https://github.com/AustP/smarty-slim-view)[ RSS](/packages/austp-smarty-slim-view/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

smarty-slim-view
================

[](#smarty-slim-view)

View that allows you to use Smarty with Slim

Installation
------------

[](#installation)

```
composer require austp/smarty-slim-view

```

As a note, you will still need to require Slim and Smarty yourself. This view just integrates the two.

Configuration
-------------

[](#configuration)

You need to define your template, compile, and cache directories upon initializing the View. You can also optionally define a plugin directory.

```
public function __construct($template_dir, $compile_dir, $cache_dir, $plugin_dir = '');

```

Use
---

[](#use)

```
