Public Repository

Last pushed: 3 years ago
Short Description
The PHP version of Pattern Lab
Full Description

Supported tags and respective Dockerfile links


The PHP version of Pattern Lab is, at its core, a static site generator. It combines platform-agnostic assets, like the Mustache-based patterns and the JavaScript-based viewer, with a PHP-based "builder" that transforms and dynamically builds the Pattern Lab site. By making it a static site generator, Pattern Lab strongly separates patterns, data, and presentation from build logic.

How to use this image

If you just want to see what Patternlab is about and see a live demo without having to install/configure the dependencies, run:

docker run -p 80:80 chadrien/patternlab-php

If you want to have a running Patternlab using your own sources, you can also use a volume:

docker run -p 80:80 -v $(pwd)/source:/opt/patternlab-php/source chadrien/patternlab-php

The patternlab watcher is running so changes in your source directory should be visible instantly.

Note: if the source directory being used as volume is empty, it's going to be initialised with a copy of the core sources from patternlab-php.

Docker Pull Command