PHPackages                             soldotno/zf2\_smarty3 - 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. soldotno/zf2\_smarty3

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

soldotno/zf2\_smarty3
=====================

Smarty template engine module for Zend Framework 2

1.2.0(13y ago)04671MITPHPPHP &gt;=5.3.3

Since Dec 28Pushed 12y ago2 watchersCompare

[ Source](https://github.com/soldotno/zf2_smarty3)[ Packagist](https://packagist.org/packages/soldotno/zf2_smarty3)[ Docs](https://github.com/MurgaNikolay/SmartyModule)[ RSS](/packages/soldotno-zf2-smarty3/feed)WikiDiscussions dev Synced yesterday

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

Welcome to the SmartyModule for Zend Framework 2!
=================================================

[](#welcome-to-the-smartymodule-for-zend-framework-2)

SmartyModule is a module that integrates the Smarty templating engine with Zend Framework 2.

Version: 1.0.0

Istallation
-----------

[](#istallation)

### Composer

[](#composer)

1. Add `"soldotno/smarty3": "dev-master"` to your `composer.json` file and run php composer.phar update.
2. Add SmartyModule to your `config/application.config.php` file under the modules key.

### Manual

[](#manual)

1. `git clone https://github.com/soldotno/zf2_smarty3.git` in to `vendor` dir
2. Put Smarty in to `vendor` dir
3. Setup autoloader for load Smarty.
4. Add SmartyModule to your `config/application.config.php` file under the modules key.

### Configuration

[](#configuration)

Change you Application config like this:

```
...
'view_manager' => array(
    'default_suffix' => 'tpl', //  true,
    'display_exceptions'       => true,
    'doctype'                  => 'HTML5',
    'not_found_template'       => 'error/404',
    'exception_template'       => 'error/index',
    'template_map' => array(
        'layout/layout'           => __DIR__ . '/../view/layout/layout.tpl',
        'application/index/index' => __DIR__ . '/../view/application/index/index.tpl',
        'error/404'               => __DIR__ . '/../view/error/404.tpl',
        'error/index'             => __DIR__ . '/../view/error/index.tpl',
    ),
    'template_path_stack' => array(
        __DIR__ . '/../view',
    ),
),
...

```

Aditional info about view manager: [Zend\\View](http://framework.zend.com/manual/2.0/en/modules/zend.view.quick-start.html "Zend\View").

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 88% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~83 days

Total

3

Last Release

4766d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/501783?v=4)[SOL developers](/maintainers/soldotno)[@soldotno](https://github.com/soldotno)

---

Top Contributors

[![NikolayMurha](https://avatars.githubusercontent.com/u/1524144?v=4)](https://github.com/NikolayMurha "NikolayMurha (44 commits)")[![robbestad](https://avatars.githubusercontent.com/u/1560743?v=4)](https://github.com/robbestad "robbestad (3 commits)")[![polianych](https://avatars.githubusercontent.com/u/3264544?v=4)](https://github.com/polianych "polianych (2 commits)")[![pkaso](https://avatars.githubusercontent.com/u/954977?v=4)](https://github.com/pkaso "pkaso (1 commits)")

---

Tags

zendviewmodulezf2smarty

### Embed Badge

![Health badge](/badges/soldotno-zf2-smarty3/health.svg)

```
[![Health](https://phpackages.com/badges/soldotno-zf2-smarty3/health.svg)](https://phpackages.com/packages/soldotno-zf2-smarty3)
```

###  Alternatives

[ytake/laravel-smarty

Smarty template engine for Laravel and Lumen

87408.6k](/packages/ytake-laravel-smarty)[latrell/smarty

This package lets you run Smarty3 on Laravel5 elegantly.

127.0k](/packages/latrell-smarty)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
