PHPackages                             aleksip/edition-php-tpl - 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. aleksip/edition-php-tpl

ActiveProject

aleksip/edition-php-tpl
=======================

Pattern Lab Edition for PHPTemplate

v1.0.0(8y ago)040GPL-2.0-or-laterPHPPHP &gt;=5.4

Since Feb 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/aleksip/edition-php-tpl)[ Packagist](https://packagist.org/packages/aleksip/edition-php-tpl)[ RSS](/packages/aleksip-edition-php-tpl/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Pattern Lab Edition for PHPTemplate
===================================

[](#pattern-lab-edition-for-phptemplate)

The Edition for PHPTemplate gives developers and designers a clean and stable base from which to develop a PHPTemplate-based pattern library.

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

[](#packaged-components)

The Edition for PHPTemplate comes with the following components:

- `pattern-lab/core`: [GitHub](https://github.com/pattern-lab/patternlab-php-core), [Packagist](https://packagist.org/packages/pattern-lab/core)
- `aleksip/patternengine-tpl`: [GitHub](https://github.com/aleksip/patternengine-php-tpl), [Packagist](https://packagist.org/packages/aleksip/patternengine-tpl)
- `pattern-lab/styleguidekit-assets-default`: [GitHub](https://github.com/pattern-lab/styleguidekit-assets-default), [Packagist](https://packagist.org/packages/pattern-lab/styleguidekit-assets-default)
- `aleksip/styleguidekit-tpl-default`: [GitHub](https://github.com/aleksip/styleguidekit-tpl-default), [Packagist](https://packagist.org/packages/aleksip/styleguidekit-tpl-default)
- `aleksip/plugin-data-transform`: [GitHub](https://github.com/aleksip/plugin-data-transform), [Packagist](https://packagist.org/packages/aleksip/plugin-data-transform)

Installing
----------

[](#installing)

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 Edition for PHPTemplate

[](#2-install-the-edition-for-phptemplate)

Use Composer's [`create-project` command](https://getcomposer.org/doc/03-cli.md#create-project) to install the Edition for PHPTemplate into a location of your choosing. In Terminal type:

```
cd install/location/
composer create-project aleksip/edition-php-tpl your-project-name && cd $_

```

This will install the Edition for PHPTemplate into a directory called `your-project-name` in `install/location/`. During the set-up process you will be asked to install an appropriate StarterKit. You will be automatically dropped into the project directory after the process is finished.

Updating Pattern Lab
--------------------

[](#updating-pattern-lab)

To update Pattern Lab please refer to each component's GitHub repository. The components are listed at the top of the README.

Helpful Commands
----------------

[](#helpful-commands)

These are some helpful commands you can use on the command line for working with Pattern Lab.

### List all of the available commands

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

To list all available commands type:

```
php core/console --help

```

To list the options for a particular command type:

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

```

### Generate Pattern Lab

[](#generate-pattern-lab)

To generate the front-end for Pattern Lab type:

```
php core/console --generate

```

### Watch for changes and re-generate Pattern Lab

[](#watch-for-changes-and-re-generate-pattern-lab)

To watch for changes and re-generate the front-end for Pattern Lab type:

```
php core/console --watch

```

### Start a server to view Pattern Lab

[](#start-a-server-to-view-pattern-lab)

You can use PHP's built-in web server to review your Pattern Lab project in a browser. In a seperate window type:

```
php core/console --server

```

Then open  in your browser.

### Install a StarterKit

[](#install-a-starterkit)

To install a near-empty StarterKit as a starting point for your project type:

```
php core/console --starterkit --init

```

To install a specific StarterKit from GitHub type:

```
php core/console --starterkit --install

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

3004d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

drupal-7pattern-labphp

### Embed Badge

![Health badge](/badges/aleksip-edition-php-tpl/health.svg)

```
[![Health](https://phpackages.com/badges/aleksip-edition-php-tpl/health.svg)](https://phpackages.com/packages/aleksip-edition-php-tpl)
```

###  Alternatives

[pattern-lab/patternengine-twig

Twig-based PatternEngine for Pattern Lab.

771.3M11](/packages/pattern-lab-patternengine-twig)[pattern-lab/edition-drupal-standard

Standard Edition of Pattern Lab for Drupal.

12419.1k](/packages/pattern-lab-edition-drupal-standard)[aleksip/plugin-data-transform

Data Transform Plugin for Pattern Lab PHP

34897.4k3](/packages/aleksip-plugin-data-transform)[pattern-lab/plugin-data-inheritance

Data inheritance based on pattern lineage for Pattern Lab.

13103.9k1](/packages/pattern-lab-plugin-data-inheritance)

PHPackages © 2026

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