PHPackages                             luminar-organization/render-engine - 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. luminar-organization/render-engine

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

luminar-organization/render-engine
==================================

The render engine package for the Luminar PHP framework, supporting different templating engines.

0172PHP

Since Aug 21Pushed 1y agoCompare

[ Source](https://github.com/luminar-organization/render-engine)[ Packagist](https://packagist.org/packages/luminar-organization/render-engine)[ RSS](/packages/luminar-organization-render-engine/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Luminar Render Engine
=====================

[](#luminar-render-engine)

[![Tests Status](https://camo.githubusercontent.com/37c37fedcc0164e08c18c48023e3de747f96ac532ee52f0909f9c0423fede014/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c756d696e61722d6f7267616e697a6174696f6e2f72656e6465722d656e67696e652f746573742e796d6c3f6c6162656c3d5465737473)](https://camo.githubusercontent.com/37c37fedcc0164e08c18c48023e3de747f96ac532ee52f0909f9c0423fede014/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c756d696e61722d6f7267616e697a6174696f6e2f72656e6465722d656e67696e652f746573742e796d6c3f6c6162656c3d5465737473)

A custom render engine designed for the Luminar PHP Framework.

Features
--------

[](#features)

- **Basic Engine**: Simple and effective PHP-based templating.
- **TwigEngine**: Integration with Twig for powerful templating.
- **View**: Manages rendering using different engines.

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

[](#installation)

Install via composer

```
composer require luminar-organization/render-engine
```

Usage
-----

[](#usage)

Using the BasicEngine

```
use Luminar\RenderEngine\Engine\BasicEngine;
use Luminar\RenderEngine\View;

$engine = new BasicEngine('/path/to/views');
$view = new View($renderer);

echo $view->render('example', ['name' => 'Luminar'])->getResponse();
```

Using the TwigEngine

```
use Luminar\RenderEngine\Engine\TwigEngine;
use Luminar\RenderEngine\View;

$engine = new TwigEngine('/path/to/views');
$view = new View($engine);

echo $view->render('example', ['name' => 'Luminar'])->getResponse();
```

Contributing
------------

[](#contributing)

Please see the CONTRIBUTING.md for guidelines in our core repo.

License
-------

[](#license)

This package is licensed under the [MIT License](LICENSE)

Integration
-----------

[](#integration)

With these components, you'll have a flexible rendering system in your framework that supports both a simple PHP templating engine and the more advanced Twig templating engine. The setup is extensible, so you can add more engines or features as needed.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

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

---

Top Contributors

[![PatrykMolenda](https://avatars.githubusercontent.com/u/90420828?v=4)](https://github.com/PatrykMolenda "PatrykMolenda (7 commits)")

### Embed Badge

![Health badge](/badges/luminar-organization-render-engine/health.svg)

```
[![Health](https://phpackages.com/badges/luminar-organization-render-engine/health.svg)](https://phpackages.com/packages/luminar-organization-render-engine)
```

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