PHPackages                             moar/template-block - 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. moar/template-block

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

moar/template-block
===================

Block based template system

07PHP

Since Apr 21Pushed 13y ago1 watchersCompare

[ Source](https://github.com/bd808/moar-template-block)[ Packagist](https://packagist.org/packages/moar/template-block)[ RSS](/packages/moar-template-block/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Moar-Template-Block
===================

[](#moar-template-block)

Block based template system based on Adam Shaw's [phpti](https://github.com/arshaw/phpti) template engine.

Part of the [Moar PHP Library](https://github.com/bd808/moar).

[![Build Status](https://camo.githubusercontent.com/303e8d772a5d873ec88eabdec819dfc3df4bbce4e21c46a9c2416937d177d4ba/68747470733a2f2f7472617669732d63692e6f72672f62643830382f6d6f61722d74656d706c6174652d626c6f636b2e706e67)](https://travis-ci.org/bd808/moar-template-block)

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

[](#installation)

Moar-Template-Block is available on Packagist ([moar/template-block](https://packagist.org/packages/moar/template-block)) and is installable via [Composer](http://getcomposer.org).

```
{
  "require": {
    "moar/template-block": "dev-master"
  }
}

```

If you do not use Composer, you can get the source from GitHub and use any PSR-0 compatible autoloader.

```
$ git clone https://github.com/bd808/moar-template-block.git

```

Run the tests
-------------

[](#run-the-tests)

Tests are automatically performed by [Travis CI](https://travis-ci.org): [![Build Status](https://camo.githubusercontent.com/303e8d772a5d873ec88eabdec819dfc3df4bbce4e21c46a9c2416937d177d4ba/68747470733a2f2f7472617669732d63692e6f72672f62643830382f6d6f61722d74656d706c6174652d626c6f636b2e706e67)](https://travis-ci.org/bd808/moar-template-block)

```
curl -sS https://getcomposer.org/installer | php
php composer.phar install --dev
phpunit

```

---

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

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/fb7225bfe174e81de548c48d7ac39da81bcbd46a838fdede536b5b045ec85961?d=identicon)[bd808](/maintainers/bd808)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/moar-template-block/health.svg)

```
[![Health](https://phpackages.com/badges/moar-template-block/health.svg)](https://phpackages.com/packages/moar-template-block)
```

###  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)
