PHPackages                             ride/lib-template-smarty - 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. ride/lib-template-smarty

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

ride/lib-template-smarty
========================

Smarty engine for the template library of the Ride framework.

2.0.0(2y ago)04.8k1MITPHP

Since Oct 24Pushed 2y ago7 watchersCompare

[ Source](https://github.com/all-ride/ride-lib-template-smarty)[ Packagist](https://packagist.org/packages/ride/lib-template-smarty)[ RSS](/packages/ride-lib-template-smarty/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (21)Used By (1)

Ride: Template Library (Smarty)
===============================

[](#ride-template-library-smarty)

Smarty engine for the template library of the PHP Ride framework.

Read the documentation for [Smarty](http://www.smarty.net).

Code Sample
-----------

[](#code-sample)

Check this code sample to see how to initialize this library:

```
use ride\library\template\engine\SmartyEngine;
use ride\library\template\engine\SmartyResourceHandler;

function createSmartyTemplateEngine(System $system) {
    $resourceHandler = new SmartyResourceHandler($system->getFileBrowser(), 'view/smarty');
    $compileDirectory = $system->getFileSystem()->getFile('/path/to/compile/cache');
    $escapeHtml = true;

    $engine = new SmartyEngine($resourceHandler, $compileDirectory, $escape);
    $engine->addPublicDirectory('/path/to/plugins');

    return $engine;
}
```

### Implementations

[](#implementations)

You can check the related implementations of this library:

- [ride/app-template-smarty](https://github.com/all-ride/ride-app-template-smarty)
- [ride/lib-template](https://github.com/all-ride/ride-lib-template)
- [ride/web-template-smarty](https://github.com/all-ride/ride-web-template-smarty)
- [ride/web-template-smarty-asset](https://github.com/all-ride/ride-web-template-smarty-asset)
- [ride/web-template-smarty-minifier](https://github.com/all-ride/ride-web-template-smarty-minifier)

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

[](#installation)

You can use [Composer](http://getcomposer.org) to install this library.

```
composer require ride/lib-template-smarty

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~212 days

Recently: every ~687 days

Total

19

Last Release

759d ago

Major Versions

0.6.5 → 1.0.02016-10-07

1.1.0 → 2.0.02024-04-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d98d3f0d5db5eb241c6ee74bcee87d1e7dc1aaf7942b933d68e612ee2352eea?d=identicon)[ride-user](/maintainers/ride-user)

---

Top Contributors

[![kayalion](https://avatars.githubusercontent.com/u/2340819?v=4)](https://github.com/kayalion "kayalion (36 commits)")[![kristofser](https://avatars.githubusercontent.com/u/5928907?v=4)](https://github.com/kristofser "kristofser (3 commits)")[![statik-jos](https://avatars.githubusercontent.com/u/15955699?v=4)](https://github.com/statik-jos "statik-jos (1 commits)")

### Embed Badge

![Health badge](/badges/ride-lib-template-smarty/health.svg)

```
[![Health](https://phpackages.com/badges/ride-lib-template-smarty/health.svg)](https://phpackages.com/packages/ride-lib-template-smarty)
```

###  Alternatives

[modx/revolution

MODX Revolution is a Content Management System

1.4k9.1k12](/packages/modx-revolution)[ytake/laravel-smarty

Smarty template engine for Laravel and Lumen

87401.6k](/packages/ytake-laravel-smarty)[noiselabs/smarty-bundle

This Symfony bundle provides integration for the Smarty3 template engine.

53194.4k1](/packages/noiselabs-smarty-bundle)

PHPackages © 2026

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