PHPackages                             sabujdas94/html-template-parser - 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. sabujdas94/html-template-parser

ActiveLibrary

sabujdas94/html-template-parser
===============================

A secure Twig-based HTML template parser for user-provided templates input.

v1.0.3(1y ago)012MITPHPPHP &gt;=7.4

Since Dec 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sabujdas94/html-template-parser)[ Packagist](https://packagist.org/packages/sabujdas94/html-template-parser)[ RSS](/packages/sabujdas94-html-template-parser/feed)WikiDiscussions main Synced 1mo ago

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

Examples
--------

[](#examples)

You can find usage examples in the `examples/` directory.

### Basic Example

[](#basic-example)

```
require 'path-to-your-package/vendor/autoload.php';

use SecureTemplateParser\SecureTemplateParser;

$parser = new SecureTemplateParser();

$template =  [
        'name' => 'John Doe',
        'age' => 25,
    ],
];

echo $parser->render($template, $data);

## License

This package is open-source software licensed under the [MIT License](LICENSE).
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

Total

4

Last Release

524d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sabujdas94-html-template-parser/health.svg)

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

###  Alternatives

[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)

PHPackages © 2026

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