PHPackages                             silassare/otpl - 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. silassare/otpl

Abandoned → [https://github.com/silassare/blate](/?search=https%3A%2F%2Fgithub.com%2Fsilassare%2Fblate)ArchivedLibrary[Templating &amp; Views](/categories/templating)

silassare/otpl
==============

\[DEPRECATED\] A simple template system write once run everywhere! Use silassare/blate instead: https://github.com/silassare/blate

2.0.1(2mo ago)1295—3.2%MITPHPPHP &gt;=8.1CI passing

Since Mar 14Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/silassare/otpl-php)[ Packagist](https://packagist.org/packages/silassare/otpl)[ Docs](https://github.com/silassare/otpl-php#readme)[ RSS](/packages/silassare-otpl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (9)Used By (0)

OTPL
====

[](#otpl)

Warning

**This project is deprecated and no longer maintained.**The repository has been archived. No further updates, bug fixes, or support will be provided.

We recommend migrating to **[silassare/blate](https://github.com/silassare/blate)** as a replacement.

A simple template system, write once run everywhere with JavaScript (nodejs or in browser ), PHP ...

Related projects
----------------

[](#related-projects)

- [JS Project](https://github.com/silassare/otpl-js/)

Setup with composer
-------------------

[](#setup-with-composer)

```
$ composer require silassare/otpl-php
```

Use case
--------

[](#use-case)

### Input: your template.otpl file content

[](#input-your-templateotpl-file-content)

```

```

### Usage: php

[](#usage-php)

```
