PHPackages                             feldsam-inc/fuel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. feldsam-inc/fuel-parser

ActiveFuel-package[Utility &amp; Helpers](/categories/utility)

feldsam-inc/fuel-parser
=======================

FuelPHP 1.x Parser Package

1.8.1(8y ago)0843MITPHP

Since May 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/FELDSAM-INC/fuel-parser)[ Packagist](https://packagist.org/packages/feldsam-inc/fuel-parser)[ Docs](https://github.com/fuel/parser)[ RSS](/packages/feldsam-inc-fuel-parser/feed)WikiDiscussions 1.9/develop Synced 2w ago

READMEChangelogDependencies (1)Versions (7)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

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

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

Total

4

Last Release

2980d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a7348aaea9028b3d014f6653c52c4e8ffe0658b1f8428199ca883750f439562?d=identicon)[feldsam](/maintainers/feldsam)

---

Top Contributors

[![WanWizard](https://avatars.githubusercontent.com/u/456954?v=4)](https://github.com/WanWizard "WanWizard (71 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)")[![feldsam](https://avatars.githubusercontent.com/u/951648?v=4)](https://github.com/feldsam "feldsam (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)")[![bakert](https://avatars.githubusercontent.com/u/1541?v=4)](https://github.com/bakert "bakert (3 commits)")[![phpwebnet](https://avatars.githubusercontent.com/u/2127871?v=4)](https://github.com/phpwebnet "phpwebnet (3 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)")[![br0p0p](https://avatars.githubusercontent.com/u/657922?v=4)](https://github.com/br0p0p "br0p0p (2 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)")[![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)")[![mrDlef](https://avatars.githubusercontent.com/u/1705964?v=4)](https://github.com/mrDlef "mrDlef (1 commits)")[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (1 commits)")

### Embed Badge

![Health badge](/badges/feldsam-inc-fuel-parser/health.svg)

```
[![Health](https://phpackages.com/badges/feldsam-inc-fuel-parser/health.svg)](https://phpackages.com/packages/feldsam-inc-fuel-parser)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

78149.7k3](/packages/mediawiki-maps)[rainlab/blog-plugin

Blog plugin for October CMS

17158.6k](/packages/rainlab-blog-plugin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19246.3k2](/packages/civicrm-civicrm-drupal-8)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3355.8k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

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