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

Abandoned → [twig/twig](/?search=twig%2Ftwig)ArchivedLibrary[Templating &amp; Views](/categories/templating)

devorto/template
================

A templating system which can be used with any file type (html/sql/javascript etc)

5.0.0(6y ago)01.1kMITPHPPHP &gt;=7.1

Since Sep 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/devorto/Template)[ Packagist](https://packagist.org/packages/devorto/template)[ RSS](/packages/devorto-template/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

[![Packagist](https://camo.githubusercontent.com/f8b98ce194563c760bce0b0a2566ec699221e3b01f94c8e1f0e3213cd6ea8c09/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6465766f72746f2f74656d706c6174652e7376673f6d61784167653d3836343030)](LICENSE.md)[![GitHub release](https://camo.githubusercontent.com/8096dd212e395d9b3d34c6253c8b143a4e8cb74a1a3686da77e82d45a75a86d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6465766f72746f2f74656d706c6174652e7376673f6d61784167653d3836343030)](https://github.com/devorto/template/releases)[![Packagist](https://camo.githubusercontent.com/311fefe0e32a3b3c91af76d75cd49ad085a7ef11e5f81b1f2c3d87512ecd46a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f6465766f72746f2f74656d706c6174652e7376673f6d61784167653d3836343030)](https://packagist.org/packages/devorto/template)

DEPRECATED
==========

[](#deprecated)

I don't use this package anymore nor has it been updated in a long time. This is because I switched to twig which is a more extended template engine. So if you are still using this package or are looking for a template engine, I would strongly suggest using [twig](https://github.com/twigphp/Twig) instead.

Template
========

[](#template)

A template system which can be used with any file type. It's created in a way that will force you to keep your template and code seperated. See the example below for a demo.

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

[](#installation)

This package can be installed through composer by requiring `devorto\template`.

Issues + Pull Requests
----------------------

[](#issues--pull-requests)

For issues use the "Issues" tab or even better send a pull request to solve the issue 😉

Example
=======

[](#example)

See the [example directory](example).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Recently: every ~313 days

Total

6

Last Release

2276d ago

Major Versions

1.0.0 → 2.0.02016-09-12

2.1.0 → 3.0.02018-02-02

3.0.0 → 4.0.02019-08-07

4.0.0 → 5.0.02020-02-19

PHP version history (3 changes)1.0.0PHP &gt;=5.4

2.0.0PHP &gt;=7.0

5.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/16be0deef1c041857f0129dad41296e48a98852114b13e72726a8dccdfa1acfb?d=identicon)[devorto](/maintainers/devorto)

---

Top Contributors

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

### Embed Badge

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

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

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