PHPackages                             tda-hienmv/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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. tda-hienmv/parser

ActiveFuel-package[Parsing &amp; Serialization](/categories/parsing)

tda-hienmv/parser
=================

FuelPHP 1.x Parser Package

1.8.2(6y ago)039MITPHP

Since May 20Pushed 4y agoCompare

[ Source](https://github.com/tda-hienmv/parser)[ Packagist](https://packagist.org/packages/tda-hienmv/parser)[ Docs](https://github.com/fuel/parser)[ RSS](/packages/tda-hienmv-parser/feed)WikiDiscussions 1.9/develop Synced today

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

Parser package
==============

[](#parser-package)

Installing
----------

[](#installing)

Simply add `parser` to your config.php `always_loaded.packages` config option.

Included Parsers
----------------

[](#included-parsers)

- Markdown - A PHP version of Markdown by Michel Fortin.

Usage
-----

[](#usage)

```
// old usage still valid, will load app/views/example.php
View::forge('example');

// load a Mustache template, will load and parse app/views/example.mustache
View::forge('example.mustache');

// load a Twig template, will load and parse app/views/example.twig
View::forge('example.twig');

// load a Hybrid Haml / Twig template, ATTENTION: this one expects app/views/example.twig and {% haml %} code at the top of the view
View::forge('example.mthaml');

// load a Jade template, will load and parse app/views/example.jade
View::forge('example.jade');

// load a Haml template, will load and parse app/views/example.haml
View::forge('example.haml');

// load a Smarty template, will load and parse app/views/example.smarty
View::forge('example.smarty');

// load a Lex template, will load and parse app/views/example.lex
View::forge('example.lex');

// load a Dwoo template, ATTENTION: this one expects app/views/example.tpl
View::forge('example.dwoo');

// load a Handlebars template, will load and parse app/views/example.handlebars
View::forge('example.handlebars');
```

Installing parsers
------------------

[](#installing-parsers)

To be able to use one of the supported parsers, you need to install them via composer. Simply add the libraries to your project's `composer.json` then run `php composer.phar install`:

```
{
    "require": {
        "dwoo/dwoo" : "*",
        "mustache/mustache" : "*",
        "smarty/smarty" : "*",
        "twig/twig" : "2.*",
        "mthaml/mthaml": "*",
        "pyrocms/lex": "*",
        "zordius/lightncandy" : "dev-master"
    }
}
```

Note that the Markdown parser is installed by default, as it is also used by the FuelPHP core class `Markdown`.

Libraries that can not be installed through composer are expected to be installed in in `APPPATH/vendor/lib_name` (capitalize lib\_name), and you'll have to download them yourself. Don't change the casing or anything, keep it as much original as possible within the `vendor/lib_name`dir to keep updating easy (also because some come with their own autoloader).

You can configure them to be loaded from other locations by copying the parser.php config file to your app and editing it.

Config and runtime config
-------------------------

[](#config-and-runtime-config)

Currently the drivers still lack a lot of config options they should probably accept. They are currently all configured to work with one instance of their parser library, which is available to config:

```
// Clear the cache for a specific Smarty template
$view = View::forge('example.smarty');
$view->parser()->clearCache('example.smarty');

// Example static usage
View_Smarty::parser()->clearCache('example.smarty');
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

4

Last Release

2508d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc8d054f36cd464181ed521537fb84c5e8663f7f7c1e8542e98d699cfb258142?d=identicon)[tda-hienmv](/maintainers/tda-hienmv)

---

Top Contributors

[![WanWizard](https://avatars.githubusercontent.com/u/456954?v=4)](https://github.com/WanWizard "WanWizard (74 commits)")[![dhrrgn](https://avatars.githubusercontent.com/u/149921?v=4)](https://github.com/dhrrgn "dhrrgn (19 commits)")[![billmn](https://avatars.githubusercontent.com/u/779534?v=4)](https://github.com/billmn "billmn (18 commits)")[![frankdejonge](https://avatars.githubusercontent.com/u/534693?v=4)](https://github.com/frankdejonge "frankdejonge (10 commits)")[![evantishuk](https://avatars.githubusercontent.com/u/686887?v=4)](https://github.com/evantishuk "evantishuk (9 commits)")[![rickharris](https://avatars.githubusercontent.com/u/216355?v=4)](https://github.com/rickharris "rickharris (7 commits)")[![ounziw](https://avatars.githubusercontent.com/u/531277?v=4)](https://github.com/ounziw "ounziw (6 commits)")[![phpwebnet](https://avatars.githubusercontent.com/u/2127871?v=4)](https://github.com/phpwebnet "phpwebnet (3 commits)")[![bakert](https://avatars.githubusercontent.com/u/1541?v=4)](https://github.com/bakert "bakert (3 commits)")[![hien-mai-008](https://avatars.githubusercontent.com/u/66240760?v=4)](https://github.com/hien-mai-008 "hien-mai-008 (3 commits)")[![br0p0p](https://avatars.githubusercontent.com/u/657922?v=4)](https://github.com/br0p0p "br0p0p (2 commits)")[![bobthecow](https://avatars.githubusercontent.com/u/53660?v=4)](https://github.com/bobthecow "bobthecow (2 commits)")[![craighooghiem](https://avatars.githubusercontent.com/u/1476306?v=4)](https://github.com/craighooghiem "craighooghiem (2 commits)")[![adammbalogh](https://avatars.githubusercontent.com/u/645053?v=4)](https://github.com/adammbalogh "adammbalogh (1 commits)")[![web2citizen](https://avatars.githubusercontent.com/u/1286328?v=4)](https://github.com/web2citizen "web2citizen (1 commits)")[![dmyers](https://avatars.githubusercontent.com/u/207171?v=4)](https://github.com/dmyers "dmyers (1 commits)")[![feldsam](https://avatars.githubusercontent.com/u/951648?v=4)](https://github.com/feldsam "feldsam (1 commits)")[![iquito](https://avatars.githubusercontent.com/u/973653?v=4)](https://github.com/iquito "iquito (1 commits)")[![it-can](https://avatars.githubusercontent.com/u/644288?v=4)](https://github.com/it-can "it-can (1 commits)")[![kenjis](https://avatars.githubusercontent.com/u/87955?v=4)](https://github.com/kenjis "kenjis (1 commits)")

### Embed Badge

![Health badge](/badges/tda-hienmv-parser/health.svg)

```
[![Health](https://phpackages.com/badges/tda-hienmv-parser/health.svg)](https://phpackages.com/packages/tda-hienmv-parser)
```

###  Alternatives

[andreyryabin/sprint.editor

Редактор для контент-менеджеров

485.6k](/packages/andreyryabin-sprinteditor)[freshsystems/wp-acf-markdown-field

Adds a Markdown field to Advanced Custom Fields.

159.2k](/packages/freshsystems-wp-acf-markdown-field)[gccloud/parser

CodeIgniter 3 Parser library extension

166.5k](/packages/gccloud-parser)

PHPackages © 2026

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