PHPackages                             mathmarques/smarty-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. [Framework](/categories/framework)
4. /
5. mathmarques/smarty-view

ActiveLibrary[Framework](/categories/framework)

mathmarques/smarty-view
=======================

Slim Framework 4 view helper built on top of the Smarty templating component

2.0.1(2y ago)24134.7k↓32%151MITPHPPHP ^7.2 || ^8.0

Since Dec 7Pushed 2y ago2 watchersCompare

[ Source](https://github.com/mathmarques/Smarty-View)[ Packagist](https://packagist.org/packages/mathmarques/smarty-view)[ RSS](/packages/mathmarques-smarty-view/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (9)Used By (1)

Slim Framework 4 Smarty View
============================

[](#slim-framework-4-smarty-view)

[![Build Status](https://camo.githubusercontent.com/dd88fd19f0cc0b516903180b66915fbf0c28b4d9b38977ac2cf877bbb0f8f840/68747470733a2f2f7472617669732d63692e6f72672f6d6174686d6172717565732f536d617274792d566965772e737667)](https://travis-ci.org/mathmarques/Smarty-View) [![Latest Stable Version](https://camo.githubusercontent.com/36424bea98b6d15ba27d283d550ef119e3d734fb3c651673bd13b8311dd4f1f9/68747470733a2f2f706f7365722e707567782e6f72672f6d6174686d6172717565732f736d617274792d766965772f762f737461626c65)](https://packagist.org/packages/mathmarques/smarty-view) [![Total Downloads](https://camo.githubusercontent.com/4ff95ee0ed3e3f3d856ce529a5d34a723fe6895dfc4dd7da719e14b218bccf46/68747470733a2f2f706f7365722e707567782e6f72672f6d6174686d6172717565732f736d617274792d766965772f646f776e6c6f616473)](https://packagist.org/packages/mathmarques/smarty-view) [![License](https://camo.githubusercontent.com/9f7be551eff25ac3545090e7d725a594b2dbe5e91fb4ffe8fa208e86f5392fb4/68747470733a2f2f706f7365722e707567782e6f72672f6d6174686d6172717565732f736d617274792d766965772f6c6963656e7365)](https://packagist.org/packages/mathmarques/smarty-view)

This is a Slim Framework 4 view helper built on top of the Smarty templating component. You can use this component to create and render templates in your Slim Framework application.

#### For Slim Framework 3 see [1.x branch](https://github.com/mathmarques/Smarty-View/tree/1.x)

[](#for-slim-framework-3-see-1x-branch)

Install
-------

[](#install)

Via [Composer](https://getcomposer.org/)

```
$ composer require mathmarques/smarty-view "^2.0"
```

Requires Slim Framework 4 and PHP 7.2 or newer.

Usage
-----

[](#usage)

TODO

Custom template functions
-------------------------

[](#custom-template-functions)

TODO

Testing
-------

[](#testing)

TODO

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Matheus Marques](https://github.com/mathmarques)
- Project based on [Twig-View](https://github.com/slimphp/Twig-View) by [Josh Lockhart](https://github.com/codeguy)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 81% 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 ~439 days

Recently: every ~466 days

Total

8

Last Release

741d ago

Major Versions

1.x-dev → 2.0.02024-05-07

PHP version history (2 changes)1.0PHP &gt;=5.5.0

2.0.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/476c021dbc27a48c569fd4278b4109afb335f847516df61d3a565a4d008658c3?d=identicon)[mathmarques](/maintainers/mathmarques)

---

Top Contributors

[![mathmarques](https://avatars.githubusercontent.com/u/1610091?v=4)](https://github.com/mathmarques "mathmarques (17 commits)")[![Rudloff](https://avatars.githubusercontent.com/u/840125?v=4)](https://github.com/Rudloff "Rudloff (3 commits)")[![naomigo](https://avatars.githubusercontent.com/u/7457333?v=4)](https://github.com/naomigo "naomigo (1 commits)")

---

Tags

frameworkslimtemplateviewsmartyslim 4

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mathmarques-smarty-view/health.svg)

```
[![Health](https://phpackages.com/badges/mathmarques-smarty-view/health.svg)](https://phpackages.com/packages/mathmarques-smarty-view)
```

###  Alternatives

[slim/twig-view

Slim Framework 4 view helper built on top of the Twig 3 templating component

3708.0M210](/packages/slim-twig-view)[slim/php-view

Render PHP view scripts into a PSR-7 Response object.

2739.7M95](/packages/slim-php-view)[projek-xyz/slim-plates

Render your Slim 3 application views using Plates template engine.

2678.2k3](/packages/projek-xyz-slim-plates)[rubellum/slim-blade-view

Slim Framework 3 view helper built on the Blade component

1822.4k2](/packages/rubellum-slim-blade-view)

PHPackages © 2026

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