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

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

mrjulio/rapture-template
========================

Rapture template component

v1.0.3(8y ago)014MITPHPPHP &gt;=5.4.0

Since Jul 3Pushed 8y agoCompare

[ Source](https://github.com/mrjulio/rapture-template)[ Packagist](https://packagist.org/packages/mrjulio/rapture-template)[ Docs](http://rapture.iuliann.ro)[ RSS](/packages/mrjulio-rapture-template/feed)WikiDiscussions master Synced today

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

Rapture PHP Template
====================

[](#rapture-php-template)

[![PhpVersion](https://camo.githubusercontent.com/3e8a799ec9cdf8140f4d08d8285359ff7d3401ce3ae539aff323aeb0ab85d90c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e342e302d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](#)[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](#)

Simple templates for PHP.

Requirements
------------

[](#requirements)

- PHP v5.4.0

Install
-------

[](#install)

```
composer require mrjulio/rapture-template

```

Quick start
-----------

[](#quick-start)

```
$tpl = new Phtml('templates/home', ['nickname' => 'John']);
echo $tpl->render();
```

Layout

```

	title ?>

	name('partials/header') ?>

    	content ?>

    insert('partials/footer', ['title' => $t->title]) ?>

```

Template

```
title = 'Test Title'; ?>

	Hello e($nickname, 'strtolower|ucfirst') ?>!

```

About
-----

[](#about)

### Author

[](#author)

Iulian N. `rapture@iuliann.ro`

### Testing

[](#testing)

```
cd ./test && phpunit

```

### Credits

[](#credits)

-

### License

[](#license)

Rapture Template is licensed under the MIT License - see the `LICENSE` file for details.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

3096d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

library

### Embed Badge

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

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

###  Alternatives

[contributte/forms-bootstrap

Nette extension for Bootstrap forms

211.1M4](/packages/contributte-forms-bootstrap)

PHPackages © 2026

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