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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?