2017 © Pedro Peláez
 

project edition-php-tpl

Pattern Lab Edition for PHPTemplate

image

aleksip/edition-php-tpl

Pattern Lab Edition for PHPTemplate

  • Friday, February 16, 2018
  • by aleksip
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 22 % Grown

The README.md

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., (*1)

Packaged Components

The Edition for PHPTemplate comes with the following components:, (*2)

Installing

Pattern Lab uses Composer to manage project dependencies., (*3)

1. Install Composer

Please follow the directions for installing Composer on the Composer website. We recommend you install it globally., (*4)

2. Install the Edition for PHPTemplate

Use Composer's create-project command to install the Edition for PHPTemplate into a location of your choosing. In Terminal type:, (*5)

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., (*6)

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., (*7)

Helpful Commands

These are some helpful commands you can use on the command line for working with Pattern Lab., (*8)

List all of the available commands

To list all available commands type:, (*9)

php core/console --help

To list the options for a particular command type:, (*10)

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

Generate Pattern Lab

To generate the front-end for Pattern Lab type:, (*11)

php core/console --generate

Watch for changes and re-generate Pattern Lab

To watch for changes and re-generate the front-end for Pattern Lab type:, (*12)

php core/console --watch

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:, (*13)

php core/console --server

Then open http://localhost:8080 in your browser., (*14)

Install a StarterKit

To install a near-empty StarterKit as a starting point for your project type:, (*15)

php core/console --starterkit --init

To install a specific StarterKit from GitHub type:, (*16)

php core/console --starterkit --install <starterkit-vendor/starterkit-name>

The Versions

16/02 2018

dev-develop

dev-develop

Pattern Lab Edition for PHPTemplate

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Aleksi Peebles

16/02 2018

dev-master

9999999-dev

Pattern Lab Edition for PHPTemplate

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Aleksi Peebles

16/02 2018

v1.0.0

1.0.0.0

Pattern Lab Edition for PHPTemplate

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Aleksi Peebles

05/02 2018

v1.0.0-beta1

1.0.0.0-beta1

Pattern Lab Edition for .tpl.php templates

  Sources   Download

GPL-2.0-or-later

The Requires

 

by Aleksi Peebles