edition-php-thin

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

  • 所有者: pattern-lab/edition-php-thin
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者pattern-lab/edition-php-thin
主編程語言PHP
編程語言PHP (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2014-07-19 18:06:11
推送於2016-05-26 19:05:00
最后一次提交2016-05-26 15:03:52
發布數6
最新版本名稱v2.1.0 (發布於 2016-05-26 15:04:46)
第一版名稱v0.1.0 (發布於 2015-02-16 06:49:54)
用户参与
星數10
關注者數7
派生數12
提交數45
已啟用問題?
問題數6
打開的問題數3
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?