PHPackages                             quellabs/canvas-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. quellabs/canvas-smarty

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

quellabs/canvas-smarty
======================

Smarty template engine integration for the Canvas PHP framework with contextual containers and automatic service discovery

1.1.4(3d ago)01292MITPHP

Since Jun 3Pushed 3w agoCompare

[ Source](https://github.com/quellabs/canvas-smarty)[ Packagist](https://packagist.org/packages/quellabs/canvas-smarty)[ Docs](https://github.com/quellabs/canvas-smarty)[ RSS](/packages/quellabs-canvas-smarty/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (36)Versions (28)Used By (2)

Canvas Smarty Template Engine
=============================

[](#canvas-smarty-template-engine)

A Smarty template engine integration for the Canvas PHP framework.

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

[](#installation)

```
composer require quellabs/canvas-smarty
```

Requirements
------------

[](#requirements)

- PHP 8.3 or higher
- Canvas framework

Usage
-----

[](#usage)

The Smarty template engine is automatically registered with Canvas through the service discovery system. No manual configuration required.

```
// In your Canvas controller
class HomeController
{
    public function index(TemplateEngineInterface $smarty) {
        return $smarty->render('home.tpl', [
            'title' => 'Welcome to Canvas',
            'user' => $user
        ]);
    }
}
```

Template Files
--------------

[](#template-files)

Place your Smarty templates in your Canvas application's template directory:

```
templates/
├── home.tpl
├── layouts/
│   └── app.tpl
└── partials/
    └── header.tpl

```

License
-------

[](#license)

MIT License

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance95

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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 ~15 days

Recently: every ~5 days

Total

26

Last Release

3d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57e4ab872b3e37536367f2d26b192df3d3bb6a6a1cebec9a104d14a6d2ffe157?d=identicon)[noescom](/maintainers/noescom)

---

Tags

canvas-frameworktemplate-integrationphp-templatingsmarty-template

### Embed Badge

![Health badge](/badges/quellabs-canvas-smarty/health.svg)

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

PHPackages © 2026

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