PHPackages                             fenom/smarty-fallback - 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. fenom/smarty-fallback

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

fenom/smarty-fallback
=====================

Smarty fallback for Fenom

217PHP

Since Feb 2Pushed 11y ago5 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Smarty Fallback for Fenom
=========================

[](#smarty-fallback-for-fenom)

Syntax
------

[](#syntax)

- Ignoring `@` before modifier. Modifier is always applied to the variable, `{$array|@count}`, `{$array|count}`, `count($array)` are same.
- **Unsupported** Smarty3 `{foreach}` properties are @index, @iteration, @first, @last, @show, @total yet.

Accessors
---------

[](#accessors)

AccessorSmarty2Smarty3`$smarty.get`yesyes`$smarty.post`yesyes`$smarty.cookie`yesyes`$smarty.request`yesyes`$smarty.server`yesyes`$smarty.env`yesyes`$smarty.session`yesyes`$smarty.const`yesyes`$smarty.ldelim`yesyes`$smarty.rdelim`yesyes`$smarty.block`-no`$smarty.section`\*nono`$smarty.capture`yesyes`$smarty.foreach`yes-`$smarty.template`\*nono`$smarty.version`\*nono`$smarty.current_dir`-no`$smarty.template_object`-no`$smarty.config`\*nonoModifiers
---------

[](#modifiers)

Tags
----

[](#tags)

TagSmarty2Smarty3`assign`[yes](http://www.smarty.net/docsv2/en/language.custom.functions.tpl#language.function.assign)[yes](http://www.smarty.net/docs/en/language.function.assign.tpl)
without scope`capture`[yes](http://www.smarty.net/docs/en/language.function.capture.tpl)[yes](http://www.smarty.net/docs/en/language.function.capture.tpl)`foreach`[yes](http://www.smarty.net/docsv2/en/language.function.foreach.tpl)[yes](http://www.smarty.net/docs/en/language.function.foreach.tpl)`section`\*[no](http://www.smarty.net/docsv2/en/language.function.section.tpl)[no](http://www.smarty.net/docs/en/language.function.section.tpl)`include`[yes](http://www.smarty.net/docsv2/en/language.function.include.tpl)[yes](http://www.smarty.net/docs/en/language.function.include.tpl)`include_php`\*\*[no](http://www.smarty.net/docsv2/en/language.function.include_php.tpl)[no](http://www.smarty.net/docs/en/language.function.include_php.tpl)`strip`[yes](http://www.smarty.net/docsv2/en/language.function.strip.tpl)[yes](http://www.smarty.net/docs/en/language.function.strip.tpl)`if`[yes](http://www.smarty.net/docsv2/en/language.function.if.tpl)[yes](http://www.smarty.net/docs/en/language.function.if.tpl)`literal`[yes](http://www.smarty.net/docsv2/en/language.function.literal.tpl)[yes](http://www.smarty.net/docs/en/language.function.literal.tpl)`ldelim`,`rdelim`[yes](http://www.smarty.net/docsv2/en/language.function.ldelim.tpl)[yes](http://www.smarty.net/docs/en/language.function.ldelim.tpl)`while`-[yes](http://www.smarty.net/docs/en/language.function.while.tpl)`extends`,`block`-[yes](http://www.smarty.net/docs/en/language.function.block.tpl)`insert`\*\*no[no](http://www.smarty.net/docs/en/language.function.insert.tpl)`html_checkboxes`\*yesyes`html_image`\*yesyes`html_options`\*yesyes`html_radios`\*yesyes`html_select_date`\*yesyes`html_select_time`\*yesyes`html_table`\*yesyes`mailto`\*yesyes`math`\*yes-`textformat`\*yesyes`eval`nono`fetch`\*yesyes`counter`\*yesyes`cycle`\*[no](http://www.smarty.net/docsv2/en/language.function.cycle.tpl)[no](http://www.smarty.net/docs/en/language.function.cycle.tpl)`*` - todo

`**` - newer

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/135c5c250b5bf3601bec3f76db32610c07970441b96a557d0a7a767187912511?d=identicon)[bzick](/maintainers/bzick)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/fenom-smarty-fallback/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[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)

PHPackages © 2026

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