Skip to content

Commit d4fee59

Browse files
committed
Update documentation to use oomphinc/composer-installers-extender
1 parent 87e2662 commit d4fee59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/views/site/about.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@
4949
<p>Asset Packagist is NOT a plugin so it can't affect where the package will be installed.<br>
5050
By default <code>bower-asset/bootstrap</code> package will be installed to <code>vendor/bower-asset/bootstrap</code> folder.</p>
5151

52-
<p>But you can achieve installing to custom path with <code><a href="https://github.com/composer/installers">composer/installers</a></code> plugin like this:</p>
52+
<p>But you can achieve installing to custom path with <code><a href="https://github.com/oomphinc/composer-installers-extender">oomphinc/composer-installers-extender</a></code> plugin like this:</p>
5353
<pre><code>
5454
"require": {
55-
"composer/installers": "~1.0",
55+
"oomphinc/composer-installers-extender": "^1.1",
5656
"bower-asset/bootstrap": "^3.3",
5757
"npm-asset/jquery": "^2.2"
5858
},
5959
"extra": {
60+
"installer-types": ["bower-asset", "npm-asset"],
6061
"installer-paths": {
61-
"public/assets/bower/{$name}/": ["type:bower-asset"],
62-
"public/assets/npm/{$name}/": ["type:npm-asset"]
62+
"public/assets/{$vendor}/{$name}/": ["type:bower-asset", "type:npm-asset"],
6363
}
6464
},
6565
"repositories": [

0 commit comments

Comments
 (0)