PHPackages                             pattern-lab/edition-mustache-standard - 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. pattern-lab/edition-mustache-standard

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

pattern-lab/edition-mustache-standard
=====================================

The Standard Edition of Pattern Lab for Mustache. Installs all Mustache-related dependencies.

v2.0.0(9y ago)3.0k10.8k↓20%441[27 issues](https://github.com/pattern-lab/patternlab-php/issues)MITPHPPHP &gt;=5.4

Since Jul 13Pushed 9y ago169 watchersCompare

[ Source](https://github.com/pattern-lab/patternlab-php)[ Packagist](https://packagist.org/packages/pattern-lab/edition-mustache-standard)[ Docs](http://patternlab.io)[ RSS](/packages/pattern-lab-edition-mustache-standard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (3)Used By (0)

[![license](https://camo.githubusercontent.com/b11d62b4f265705f5c71b8fc09bd785df23faa2e4aa8ea707cd9ad5cf197a587/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7061747465726e2d6c61622f7061747465726e6c61622d7068702e737667)](https://camo.githubusercontent.com/b11d62b4f265705f5c71b8fc09bd785df23faa2e4aa8ea707cd9ad5cf197a587/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7061747465726e2d6c61622f7061747465726e6c61622d7068702e737667)[![Packagist](https://camo.githubusercontent.com/d1099f003afcec1262c133a96e03630e64e7107ec2153b95dd6c29922736798a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7061747465726e2d6c61622f65646974696f6e2d6d757374616368652d7374616e646172642e737667)](https://packagist.org/packages/pattern-lab/edition-mustache-standard) [![Gitter](https://camo.githubusercontent.com/1aab01ee0e000a7579622d70bc989eedef838c7d907e28309101419e0afd7b1d/68747470733a2f2f696d672e736869656c64732e696f2f6769747465722f726f6f6d2f7061747465726e2d6c61622f7068702e737667)](https://gitter.im/pattern-lab/php)

Pattern Lab Standard Edition for Mustache
=========================================

[](#pattern-lab-standard-edition-for-mustache)

The Pattern Lab Standard Edition for Mustache is the evolution of Pattern Lab 1. Pattern Lab is still, at its core, a prototyping tool focused on encouraging communication between content creators, designers, devs, and clients. It combines platform-agnostic assets, like the [Mustache](http://mustache.github.io/)-based patterns, with a PHP-based "builder." Pattern Lab 2 introduces [the beginnings of an ecosystem](http://patternlab.io/docs/advanced-ecosystem-overview.html) that will allow teams to mix, match and extend Pattern Lab to meet their specific needs. It will also make it easier for the Pattern Lab team to push out new features. Pattern Lab Standard Edition for Mustache is just [one of the four PHP-based Editions currently available](http://patternlab.io/docs/installation.html).

Demo
----

[](#demo)

You can play with a demo of the front-end of Pattern Lab at [demo.patternlab.io](http://demo.patternlab.io).

Requirements
------------

[](#requirements)

To use the basic features of Pattern Lab to compile patterns, you must have **PHP 5.4+** installed. On Mac OS X Pattern Lab should work "out of the box." If you're on Windows you can [download PHP from PHP.net](http://windows.php.net/download/). Pattern Lab comes with its own built-in web server.

Pattern Lab uses [Composer](https://getcomposer.org/) to manage project dependencies. It's required if you want to install Pattern Lab using Composer's `create-project` command or if you want to upgrade Pattern Lab in the future.

Installing
----------

[](#installing)

There are two methods for downloading and installing the Standard Edition for Mustache:

- Download a pre-built project
- Create a project based on this Edition with Composer

### Download a pre-built project

[](#download-a-pre-built-project)

The fastest way to get started with Pattern Lab's Standard Edition for Mustache is to download the latest pre-built version from the [releases page](https://github.com/pattern-lab/patternlab-php/releases/latest).

### Use Composer to create a project

[](#use-composer-to-create-a-project)

Pattern Lab uses [Composer](https://getcomposer.org/) to manage project dependencies.

#### 1. Install Composer

[](#1-install-composer)

Please follow the directions for [installing Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) on the Composer website. We recommend you [install it globally](https://getcomposer.org/doc/00-intro.md#globally).

#### 2. Install the Standard Edition for Mustache

[](#2-install-the-standard-edition-for-mustache)

Use Composer's [`create-project` command](https://getcomposer.org/doc/03-cli.md#create-project) to install the Standard Edition for Mustache into a location of your choosing. To create a project do the following:

1. In a terminal window navigate to where you want to install Pattern Lab
2. Type `composer create-project pattern-lab/edition-mustache-standard patternlab2-example && cd $_`
3. When prompted, type `1` to install the demo StarterKit

This will install the Standard Edition for Mustache along with the demo StarterKit into a directory called `patternlab2-example`. You will be automatically dropped into `patternlab2-example/` when the install is finished.

**Note:** If you clone or download this repository and use `composer install` to install the project dependencies you'll need to type the following to install the demo StarterKit:

```
composer install-demo

```

Otherwise you'll have a very bare set-up of Pattern Lab.

Get Up and Running
------------------

[](#get-up-and-running)

After installing do the following to start and view Pattern Lab:

1. In a terminal window navigate to the root of your project if you aren't there already
2. Type `php core/console --server --with-watch`

You should now be able to open  to see your generated site. Any changes you make in `./source/` will automatically rebuild your site and reload your browser.

As you get more comfortable with Pattern Lab you can [integrate it with a Gulp or Grunt workflow](http://patternlab.io/docs/advanced-integration-with-grunt.html) and drop some of the native Pattern Lab features like automatic browser reload. You can also check out [the list of plugins](http://patternlab.io/download.html).

More Documentation
------------------

[](#more-documentation)

Obviously Pattern Lab is deeper than the install process. [Check out the documentation](https://patternlab.io/docs/) to learn about how to use patterns, how to modify the data used to populate those patterns, and about some advanced features.

Migrating from Pattern Lab 1 to Pattern Lab 2
---------------------------------------------

[](#migrating-from-pattern-lab-1-to-pattern-lab-2)

Pattern Lab 2 was a complete rewrite and reorganization of Pattern Lab 1. [Learn about the changes](http://patternlab.io/docs/changes-1-to-2.html). After installing the Standard Edition for Mustache do the following to migrate from Pattern Lab 1 to Pattern Lab 2:

1. Copy `./source` from your old project to your new install
2. Copy `./source/_patterns/00-atoms/00-meta/_00-head.mustache` to `./source/_meta/_00-head.mustache`
3. Copy `./source/_patterns/00-atoms/00-meta/_01-foot.mustache` to `./source/_meta/_00-foot.mustache`
4. Copy `./source/_data/annotations.js` to `./source/_annotations/annotations.js`

Everything else should work without changes.

Need Pattern Lab 1?
-------------------

[](#need-pattern-lab-1)

The [source code for Pattern Lab 1](https://github.com/pattern-lab/patternlab-php/releases/tag/v1.1.0) is still available for download.

Packaged Components
-------------------

[](#packaged-components)

The Standard Edition for Mustache installs the following components:

- `pattern-lab/core`: [GitHub](https://github.com/pattern-lab/patternlab-php-core), [Packagist](https://packagist.org/packages/pattern-lab/core)
- `pattern-lab/patternengine-mustache`: [documentation](https://github.com/pattern-lab/patternengine-php-mustache#mustache-patternengine-for-pattern-lab-php), [GitHub](https://github.com/pattern-lab/patternengine-php-mustache), [Packagist](https://packagist.org/packages/pattern-lab/patternengine-mustache)
- `pattern-lab/plugin-reload`: [GitHub](https://github.com/pattern-lab/plugin-php-reload), [Packagist](https://packagist.org/packages/pattern-lab/plugin-reload)
- `pattern-lab/styleguidekit-assets-default`: [GitHub](https://github.com/pattern-lab/styleguidekit-assets-default), [Packagist](https://packagist.org/packages/pattern-lab/styleguidekit-assets-default)
- `pattern-lab/styleguidekit-mustache-default`: [GitHub](https://github.com/pattern-lab/styleguidekit-mustache-default), [Packagist](https://packagist.org/packages/pattern-lab/styleguidekit-mustache-default)

List All of the Available Commands and Their Options
----------------------------------------------------

[](#list-all-of-the-available-commands-and-their-options)

To list all available commands type:

```
php core/console --help

```

To list the options for a particular command type:

```
php core/console --help --[command]

```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.3% 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

Unknown

Total

1

Last Release

3588d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25d0cba915480bf76aa78007b98384c010e753508452e35dc3b93b79698bd103?d=identicon)[dmolsen](/maintainers/dmolsen)

![](https://www.gravatar.com/avatar/987cdfed8075c463b2a985c2b4e05b7041b4e97f243f77cc29e4c85a8791a515?d=identicon)[EvanLovely](/maintainers/EvanLovely)

---

Top Contributors

[![dmolsen](https://avatars.githubusercontent.com/u/2746?v=4)](https://github.com/dmolsen "dmolsen (905 commits)")[![bradfrost](https://avatars.githubusercontent.com/u/383701?v=4)](https://github.com/bradfrost "bradfrost (112 commits)")[![alienlebarge](https://avatars.githubusercontent.com/u/611234?v=4)](https://github.com/alienlebarge "alienlebarge (4 commits)")[![faustgertz](https://avatars.githubusercontent.com/u/393771?v=4)](https://github.com/faustgertz "faustgertz (2 commits)")[![GriffinArtworks](https://avatars.githubusercontent.com/u/939909?v=4)](https://github.com/GriffinArtworks "GriffinArtworks (2 commits)")[![lemacedo](https://avatars.githubusercontent.com/u/4422834?v=4)](https://github.com/lemacedo "lemacedo (2 commits)")[![kamilwaheed](https://avatars.githubusercontent.com/u/3146772?v=4)](https://github.com/kamilwaheed "kamilwaheed (1 commits)")[![kevin-heil](https://avatars.githubusercontent.com/u/5548077?v=4)](https://github.com/kevin-heil "kevin-heil (1 commits)")[![levito](https://avatars.githubusercontent.com/u/70500?v=4)](https://github.com/levito "levito (1 commits)")[![ageibert](https://avatars.githubusercontent.com/u/22918832?v=4)](https://github.com/ageibert "ageibert (1 commits)")[![patternlab](https://avatars.githubusercontent.com/u/4733925?v=4)](https://github.com/patternlab "patternlab (1 commits)")[![coryrylan](https://avatars.githubusercontent.com/u/2021067?v=4)](https://github.com/coryrylan "coryrylan (1 commits)")[![c-vetter](https://avatars.githubusercontent.com/u/445565?v=4)](https://github.com/c-vetter "c-vetter (1 commits)")[![illepic](https://avatars.githubusercontent.com/u/295127?v=4)](https://github.com/illepic "illepic (1 commits)")[![jamiemagique](https://avatars.githubusercontent.com/u/6445332?v=4)](https://github.com/jamiemagique "jamiemagique (1 commits)")[![jasonlcrane](https://avatars.githubusercontent.com/u/297528?v=4)](https://github.com/jasonlcrane "jasonlcrane (1 commits)")

---

Tags

mustachepattern lab

### Embed Badge

![Health badge](/badges/pattern-lab-edition-mustache-standard/health.svg)

```
[![Health](https://phpackages.com/badges/pattern-lab-edition-mustache-standard/health.svg)](https://phpackages.com/packages/pattern-lab-edition-mustache-standard)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[zordius/lightncandy

An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ).

60910.5M45](/packages/zordius-lightncandy)[pattern-lab/styleguidekit-assets-default

The assets for the default StyleguideKit for Pattern Lab. Contains styles and mark-up for Pattern Lab's front-end.

351.4M6](/packages/pattern-lab-styleguidekit-assets-default)[pattern-lab/patternengine-twig

Twig-based PatternEngine for Pattern Lab.

771.3M11](/packages/pattern-lab-patternengine-twig)[salesforce/handlebars-php

Handlebars processor for php

80713.2k11](/packages/salesforce-handlebars-php)[proai/laravel-handlebars

A Laravel wrapper for LightnCandy for using the Handlebars (and Mustache) template engine.

38204.7k](/packages/proai-laravel-handlebars)

PHPackages © 2026

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