PHPackages                             bulton-fr/bfw-fenom - 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. bulton-fr/bfw-fenom

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

bulton-fr/bfw-fenom
===================

Fenom template module for BFW

1.0.0(10y ago)1188LGPL-3.0PHPPHP &gt;=5.3.0

Since Mar 26Pushed 7y ago2 watchersCompare

[ Source](https://github.com/bfw-systems/fenom)[ Packagist](https://packagist.org/packages/bulton-fr/bfw-fenom)[ Docs](https://github.com/bulton-fr/bfw-fenom)[ RSS](/packages/bulton-fr-bfw-fenom/feed)WikiDiscussions 2.0 Synced today

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

bfw-fenom
=========

[](#bfw-fenom)

[![Build Status](https://camo.githubusercontent.com/5d04a9d58da48146ba28dcbe07a446410469f71a25be74bd120d09e9a6aa0298/68747470733a2f2f7472617669732d63692e6f72672f62756c746f6e2d66722f6266772d66656e6f6d2e7376673f6272616e63683d322e30)](https://travis-ci.org/bulton-fr/bfw-fenom) [![Coverage Status](https://camo.githubusercontent.com/7470c4fbe7d724a8636caa46d6dec06619f8ede12b2c8291ac0b4b47f5a671aa/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f62756c746f6e2d66722f6266772d66656e6f6d2f62616467652e7376673f6272616e63683d322e30)](https://coveralls.io/github/bulton-fr/bfw-fenom?branch=2.0) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/f5c76222e69b22da552e21b8e0e8990fe292a8afb743b1dc0b93f91141671d53/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62756c746f6e2d66722f6266772d66656e6f6d2f6261646765732f7175616c6974792d73636f72652e706e673f623d322e30)](https://scrutinizer-ci.com/g/bulton-fr/bfw-fenom/?branch=2.0)[![Latest Stable Version](https://camo.githubusercontent.com/b5c1f405b0c60f421efb8080f3b0a33eb5e314317fb286f14cfc0110f9310625/68747470733a2f2f706f7365722e707567782e6f72672f62756c746f6e2d66722f6266772d66656e6f6d2f762f737461626c65)](https://packagist.org/packages/bulton-fr/bfw-fenom) [![License](https://camo.githubusercontent.com/3ef1f9df8897f4d6e710ed60b4bc752935d9a171b7f726aa72840ee0d6fdc04e/68747470733a2f2f706f7365722e707567782e6f72672f62756c746f6e2d66722f6266772d66656e6f6d2f6c6963656e7365)](https://packagist.org/packages/bulton-fr/bfw-fenom)

Module to use [Fenom](https://github.com/fenom-template/fenom) library with BFW framework

---

**Install :**

You can use composer to get the module : `composer require bulton-fr/bfw-fenom @stable`

And to install the module : `./vendor/bin/bfwInstallModules`

**Config :**

All config file for this module will be into `app/config/bfw-fenom/`. There is one files to configure (manifest.json is for the module update system).

The file config.php. This file start with two variabled declared (`$fenomOptions` and `$fenomOptionsDebug`). The first variable is options passed to fenom, and the second is an override of the first variable used when the framework is run in debug mode (file `/app/config/bfw/global.php`).

Next you have a returned array with three keys :

- `pathTemplate` : It's the path to the template directory (you can use constant create by the framework)
- `pathCompiled` : It's the path to the compiled template directory (you can use constant create by the framework)
- `fenomOptions` : It's options will be passed to Fenom. The value is generate with `$fenomOptions` and `$fenomOptionsDebug` declared before in the file.

To know options list, you can refer to [the fenom doc](https://github.com/fenom-template/fenom/blob/master/docs/en/configuration.md)

**Use it :**

The module will instantiate Fenom with a call to Fenom::Factory with infos configured. The instance will be saved into the property `fenom` of the \\BFW\\Module instance for this module.

You can access to the property from anywhere with `\BFW\Application::getInstance()->getModuleList()->getModuleByName('bfw-fenom')->fenom;`

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

14

Last Release

3749d ago

Major Versions

1.0.x-dev → 2.0.0-rc.12016-03-26

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

2.0.0-rc.1PHP &gt;=5.6.0

2.0.0-rc.10PHP ^7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8878310e46e073ed70452f0f16ebb5bf177a484811e2b19b2f48d8e2035279a8?d=identicon)[bulton-fr](/maintainers/bulton-fr)

---

Top Contributors

[![bulton-fr](https://avatars.githubusercontent.com/u/2345417?v=4)](https://github.com/bulton-fr "bulton-fr (38 commits)")

---

Tags

templatemodulefenombfw

### Embed Badge

![Health badge](/badges/bulton-fr-bfw-fenom/health.svg)

```
[![Health](https://phpackages.com/badges/bulton-fr-bfw-fenom/health.svg)](https://phpackages.com/packages/bulton-fr-bfw-fenom)
```

###  Alternatives

[fenom/fenom

Fenom - excellent template engine for PHP

44496.0k23](/packages/fenom-fenom)[pug-php/pug

HAML-like template engine for PHP

393389.2k58](/packages/pug-php-pug)

PHPackages © 2026

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