PHPackages                             ramracing/mustache-file-array-loader - 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. ramracing/mustache-file-array-loader

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

ramracing/mustache-file-array-loader
====================================

Template loader for Mustache.php that uses an array of files.

0451PHP

Since Mar 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ramracing/mustache-file-array-loader)[ Packagist](https://packagist.org/packages/ramracing/mustache-file-array-loader)[ RSS](/packages/ramracing-mustache-file-array-loader/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

mustache-file-array-loader
==========================

[](#mustache-file-array-loader)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e91c40c25596ea74a0930b9636b5d560cc3707177fb70497dd3504c520fce5b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616d726163696e672f6d757374616368652d66696c652d61727261792d6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ramracing/mustache-file-array-loader)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/7757580a0bef76dbc292cead55ae5712c144257cd29f3519382bd03082358127/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72616d726163696e672f6d757374616368652d66696c652d61727261792d6c6f616465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ramracing/mustache-file-array-loader)[![Coverage Status](https://camo.githubusercontent.com/78e511c5f9f8f05786a9970b6abd9e14c2b822cab9d52f518a3280065938dc06/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f72616d726163696e672f6d757374616368652d66696c652d61727261792d6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ramracing/mustache-file-array-loader/code-structure)[![Quality Score](https://camo.githubusercontent.com/f1a38d58e29ea9761c7053885c9d17832681f3138bd3991c0e9d22e802059eeb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72616d726163696e672f6d757374616368652d66696c652d61727261792d6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ramracing/mustache-file-array-loader)[![Total Downloads](https://camo.githubusercontent.com/c398745153f8fb4b51b45f9a3903fbce366865e62eae9bb0d874f401e4ffc4d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616d726163696e672f6d757374616368652d66696c652d61727261792d6c6f616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ramracing/mustache-file-array-loader)

This package provides a loader for [Mustache.php](https://github.com/bobthecow/mustache.php) to allow loading from an array of files.

Install
-------

[](#install)

Via Composer

```
$ composer require ramracing/mustache-file-array-loader
```

Usage
-----

[](#usage)

```
$skeleton = new RamRacing\Mustache\FileArrayLoader();
echo $skeleton->echoPhrase('Hello, League!');
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ram Racing](https://ramracing.org)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![adduc](https://avatars.githubusercontent.com/u/44527?v=4)](https://github.com/adduc "adduc (8 commits)")

### Embed Badge

![Health badge](/badges/ramracing-mustache-file-array-loader/health.svg)

```
[![Health](https://phpackages.com/badges/ramracing-mustache-file-array-loader/health.svg)](https://phpackages.com/packages/ramracing-mustache-file-array-loader)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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