PHPackages                             smtech/stmarkssmarty - 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. smtech/stmarkssmarty

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

smtech/stmarkssmarty
====================

A standard Smarty install for St. Mark's projects

v1.0.1(8y ago)02951[1 issues](https://github.com/smtech/stmarks-bootstrapsmarty/issues)1LGPL-3.0PHP

Since Aug 8Pushed 8y ago2 watchersCompare

[ Source](https://github.com/smtech/stmarks-bootstrapsmarty)[ Packagist](https://packagist.org/packages/smtech/stmarkssmarty)[ RSS](/packages/smtech-stmarkssmarty/feed)WikiDiscussions master Synced 1mo ago

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

StMarksSmarty
=============

[](#stmarkssmarty)

[![Latest Version](https://camo.githubusercontent.com/e048fbea3bba499a0aa131e652c093ca3515e6d7bf2e1e7221181604d8467cd0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736d746563682f73746d61726b73736d617274792e737667)](https://packagist.org/packages/smtech/stmarkssmarty)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d3bc40b8c8ee012618b39c491050a00195458640d75a244ed5b345740f394ced/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736d746563682f73746d61726b732d626f6f747374726170736d617274792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/smtech/stmarks-bootstrapsmarty/?branch=master)

A wrapper for Smarty to provide a consistent UI for our scripts and apps.

Install
-------

[](#install)

Because this makes use of front-end files managed via Bower, as well as the back-end managed by Composer, it is *really, really, super-helpful* to run the following command before trying to work with this package:

```
composer global require "fxp/composer-asset-plugin:^1.1"
```

Find out more about [`fxp/composer-asset-plugin`](https://github.com/francoispluchino/composer-asset-plugin) and [Bower](http://bower.io/).

And then, include in `composer.json`:

```
"require": {
  "smtech/stmarkssmarty": "dev-master"
}

```

Use
---

[](#use)

If you have no templates of your own:

```
$smarty = StMarksSmarty::getSmarty();

// ...app logic...

$smarty->assign('content', 'whatever content you want displayed');
$smarty->display();

```

If you have your own templates directory:

```
$smarty->addTemplateDir('');

```

If your app will be presented as an embedded `iframe`:

```
$smarty = StMarksSmarty::getSmarty(true);

```

Complete [API documentation](http://smtech.github.io/stmarks-bootstrapsmarty/namespaces/smtech.StMarksSmarty.html) is included in the repo and the [Smarty API documentation](http://www.smarty.net/docs/en/) is also online.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~109 days

Recently: every ~145 days

Total

7

Last Release

3281d ago

Major Versions

v0.5 → v1.02016-08-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0554a28104c65004c6de4d335ada25cf2763c8a9691dc5611314486d461fa4c?d=identicon)[battis](/maintainers/battis)

---

Top Contributors

[![battis](https://avatars.githubusercontent.com/u/419619?v=4)](https://github.com/battis "battis (4 commits)")

### Embed Badge

![Health badge](/badges/smtech-stmarkssmarty/health.svg)

```
[![Health](https://phpackages.com/badges/smtech-stmarkssmarty/health.svg)](https://phpackages.com/packages/smtech-stmarkssmarty)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

555.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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