You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*This is a fork of [johnpbloch/wordpress-core-installer](https://github.com/johnpbloch/wordpress-core-installer) with some fixes to enhance compatibility with [roots/wordpress](https://packagist.org/packages/roots/wordpress)*
8
+
*This is a fork of [johnpbloch/wordpress-core-installer](https://github.com/roots/wordpress-core-installer) with some fixes to enhance compatibility with [moox/press](https://packagist.org/packages/moox/press)*
9
9
10
10
A custom Composer plugin to install WordPress core outside of `vendor`.
11
11
@@ -19,18 +19,20 @@ To set up a custom WordPress build package to use this as a custom installer, ad
19
19
```json
20
20
"type": "wordpress-core",
21
21
"require": {
22
-
"roots/wordpress-core-installer": "^3.0"
22
+
"moox/wordpress-core-installer": "^3.0"
23
23
}
24
24
```
25
25
26
26
By default, this package will install a `wordpress-core` type package in the `wordpress` directory. To change this you can add the following to either your custom WordPress core type package or the root composer package:
27
27
28
28
```json
29
29
"extra": {
30
-
"wordpress-install-dir": "custom/path"
30
+
"wordpress-install-dir": "public/wp"
31
31
}
32
32
```
33
33
34
+
This works not only in the project's composer.json but also in a package's composer.json, the reason for the fork, and we default to `public/wp`.
35
+
34
36
The root composer package can also declare custom paths as an object keyed by package name:
0 commit comments