Sign inSign up

chadrien/patternlab-php

By chadrien

•Updated about 11 years ago

The PHP version of Pattern Lab http://patternlab.io

Image
0

482

chadrien/patternlab-php repository overview

⁠Patternlab-php

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.

Paternlab logo

⁠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.

Tag summary

Content type

Image

Digest

sha256:e1cb7ed6a…

Size

148.8 MB

Last updated

about 11 years ago

docker pull chadrien/patternlab-php