PHPackages                             nlg/aurora - 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. nlg/aurora

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

nlg/aurora
==========

Aurora is a powerful and efficient one-file PHP template engine designed to simplify web development. It requires no external dependencies and offers a straightforward setup process, making it ideal for projects that benefit from a lightweight, easy-to-deploy solution.

v1.0.8(6mo ago)028MITPHPPHP &gt;=8.2

Since May 7Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/NetLifeGuru/Aurora)[ Packagist](https://packagist.org/packages/nlg/aurora)[ RSS](/packages/nlg-aurora/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)DependenciesVersions (10)Used By (0)

Aurora
======

[](#aurora)

Aurora is NetLife Guru Template Engine
--------------------------------------

[](#aurora-is-netlife-guru-template-engine)

Overview
--------

[](#overview)

This project is a powerful and efficient one-file PHP template engine designed to simplify web development. It requires no external dependencies and offers a straightforward setup process, making it ideal for projects that benefit from a lightweight, easy-to-deploy solution.

Key Features
------------

[](#key-features)

- **No Dependencies**: Operates independently without the need for external libraries.
- **Single File Implementation**: Everything you need is contained within a single file, simplifying integration and maintenance.
- **Easy Configuration**: Set up and start using with minimal configuration, allowing you to focus on developing your application.
- **Flexible Templating**: Supports advanced features like custom macros, conditional rendering, and dynamic content integration.

Getting Started
---------------

[](#getting-started)

To get started with this template engine, simply include the PHP file in your project and follow the basic usage instructions below to render your first template.

### Basic Usage

[](#basic-usage)

- index.php

```
require __DIR__ . '/vendor/autoload.php';

$aurora = new Nlg\Aurora\Loader([
    'root'  => getcwd() . '/../',
    'views' => '/views',
    'cache' => '/cache',
]);

$aurora->setFiles([
    '/layout.html',
]);

$aurora->setLanguageConstants([
    'hello world' => 'Hello World',
]);

$aurora->setVariables([
    'lang' => 'en',
    'title' => 'Aurora Single Page',
    'year' => date("Y")
]);

$aurora->createCache(false);

print $aurora->render("layout");
```

- views/layout.html

```
{layout}
    Hello World
{/layout}
```

For detailed configuration options and advanced features, please refer to the documentation provided.

### Documentation

[](#documentation)

Comprehensive documentation is available that covers detailed configurations and advanced usage scenarios. It provides all the necessary information to fully utilize the capabilities of the template engine.

### Advantages

[](#advantages)

Using this template engine brings several advantages to your web development process, including:

- Quick setup and easy integration.
- Reduced project complexity with a one-file solution.
- Flexibility in managing dynamic content and UI components

### Conclusion

[](#conclusion)

This template engine is an excellent choice for developers looking for a straightforward, powerful solution to handle web templating needs without the overhead of larger frameworks or libraries. Experiment with it to explore its full potential!

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance69

Regular maintenance activity

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~71 days

Recently: every ~98 days

Total

9

Last Release

209d ago

### Community

Maintainers

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

---

Top Contributors

[![martinbenadik](https://avatars.githubusercontent.com/u/1540592?v=4)](https://github.com/martinbenadik "martinbenadik (29 commits)")

### Embed Badge

![Health badge](/badges/nlg-aurora/health.svg)

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)[awkwardideas/switchblade

Extended blade directives for laravel

102.1k](/packages/awkwardideas-switchblade)

PHPackages © 2026

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