edition-php-thin

The thin edition of Pattern Lab. Only installs pattern-lab/core.

  • Owner: pattern-lab/edition-php-thin
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Pattern Lab Thin Edition

The Thin Edition of Pattern Lab is meant to serve as a clean base upon which you can build your own custom editions of Pattern Lab. The only thing that is installed with the Thin Edition is Pattern Lab Core.

Installing

Pattern Lab uses Composer to manage project dependencies. The Thin Edition of Pattern Lab can be installed in one of two ways:

Download and Install Using the Bundled Version of Composer

We don't expect everyone to have Composer installed. We bundle a version of Composer with the Thin Edition to make the install process go smoothly.

First, download the Zip of the Thin Edition.

Second, run Composer. If you're on a Mac navigate to your downloaded copy of Pattern Lab, open core > scripts. Double-click installPatternLab.command. Pattern Lab will set itself up. Alternatively, you can use your command line tool of choice and type the following within your downloaded copy:

php core/bin/composer.phar install

Use Composer's create-project Feature

To use Composer's create-project feature type the following where you want to install Pattern Lab:

composer create-project pattern-lab/edition-thin your-project-name

This will create a directory called your-project-name. It will also install Pattern Lab's default folder structure as well as core and its dependencies.

Modifying the Thin Edition to Create Your Own Editions

To create your own editions all you need to do is fork this project and edit the composer.json file to include the features that make sense for your project. For example, if you wanted to include Mustache as the default Pattern Engine for your edition you'd add the following to composer.json under the require section:

"pattern-lab/patternengine-mustache": "dev-dev"

This ensures that the Mustache Pattern Engine is installed.

You'll also want to make sure to edit information such as name, description, authors, etc. in composer.json as well so they match your project. Then add your project to Packagist so others can download and use your edition as well.

Main metrics

Overview
Name With Ownerpattern-lab/edition-php-thin
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2014-07-19 18:06:11
Pushed At2016-05-26 19:05:00
Last Commit At2016-05-26 15:03:52
Release Count6
Last Release Namev2.1.0 (Posted on 2016-05-26 15:04:46)
First Release Namev0.1.0 (Posted on 2015-02-16 06:49:54)
用户参与
Stargazers Count10
Watchers Count7
Fork Count12
Commits Count45
Has Issues Enabled
Issues Count6
Issue Open Count3
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private