@@ -150,7 +150,7 @@ So submit your packages to [packagist.org](http://packagist.org)!
150
150
151
151
## Custom Install Paths
152
152
153
- If you are consuming a package that uses the ` composer/installers ` you can
153
+ If you are requiring a package which has one of the supported types you can
154
154
override the install path with the following extra in your ` composer.json ` :
155
155
156
156
``` json
@@ -163,7 +163,9 @@ override the install path with the following extra in your `composer.json`:
163
163
}
164
164
```
165
165
166
- A package type can have a custom installation path with a ` type: ` prefix.
166
+ You can determine a non-standard installation path for all packages of a
167
+ particular type with the ` type: ` prefix. The type must be one of types
168
+ listed on the supported list above.
167
169
168
170
``` json
169
171
{
@@ -175,8 +177,9 @@ A package type can have a custom installation path with a `type:` prefix.
175
177
}
176
178
```
177
179
178
- You can also have the same vendor packages with a custom installation path by
179
- using the ` vendor: ` prefix.
180
+ You can also install all packages by a particular vendor to a custom
181
+ installation path by using the ` vendor: ` prefix. The path will still
182
+ only apply to packages by the vendor with a type in the supported list.
180
183
181
184
``` json
182
185
{
@@ -188,8 +191,8 @@ using the `vendor:` prefix.
188
191
}
189
192
```
190
193
191
- These would use your custom path for each of the listed packages. The available
192
- variables to use in your paths are: ` {$name} ` , ` {$vendor} ` , ` {$type} ` .
194
+ These would use your custom path for each of the matching packages. The
195
+ available variables to use in your paths are: ` {$name} ` , ` {$vendor} ` , ` {$type} ` .
193
196
194
197
## Custom Install Names
195
198
0 commit comments