浏览代码

Add project type to docs, fixes #1142

Jordi Boggiano 12 年之前
父节点
当前提交
a26bababe0
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      doc/04-schema.md

+ 6 - 0
doc/04-schema.md

@@ -87,6 +87,12 @@ installer capable of installing packages of that type.
 Out of the box, composer supports three types:
 Out of the box, composer supports three types:
 
 
 - **library:** This is the default. It will simply copy the files to `vendor`.
 - **library:** This is the default. It will simply copy the files to `vendor`.
+- **project:** This denote a project rather than a library. For example
+  application shells like the [Symfony standard edition](https://github.com/symfony/symfony-standard),
+  CMSs like the [SilverStripe installer](https://github.com/silverstripe/silverstripe-installer)
+  or full fledged applications distributed as packages. This can for example
+  be used by IDEs to provide listings of projects to initialize when creating
+  a new workspace.
 - **metapackage:** An empty package that contains requirements and will trigger
 - **metapackage:** An empty package that contains requirements and will trigger
   their installation, but contains no files and will not write anything to the
   their installation, but contains no files and will not write anything to the
   filesystem. As such, it does not require a dist or source key to be
   filesystem. As such, it does not require a dist or source key to be