Skip to content

Commit 27db29b

Browse files
authored
Update README.md
1 parent 714d2e2 commit 27db29b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# WordPress Core Installer
22

3-
[![Tests](https://github.com/roots/wordpress-core-installer/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/roots/wordpress-core-installer/actions/workflows/tests.yml)
3+
[![Tests](https://github.com/mooxphp/wordpress-core-installer/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/mooxphp/wordpress-core-installer/actions/workflows/tests.yml)
44
[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
5-
[![Packagist](https://img.shields.io/packagist/dt/roots/wordpress-core-installer.svg)](https://packagist.org/packages/roots/wordpress-core-installer)
6-
![GitHub tag](https://img.shields.io/github/tag/roots/wordpress-core-installer.svg)
5+
[![Packagist](https://img.shields.io/packagist/dt/moox/wordpress-core-installer.svg)](https://packagist.org/packages/roots/wordpress-core-installer)
6+
![GitHub tag](https://img.shields.io/github/tag/mooxphp/wordpress-core-installer.svg)
77

8-
*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)*
99

1010
A custom Composer plugin to install WordPress core outside of `vendor`.
1111

@@ -19,18 +19,20 @@ To set up a custom WordPress build package to use this as a custom installer, ad
1919
```json
2020
"type": "wordpress-core",
2121
"require": {
22-
"roots/wordpress-core-installer": "^3.0"
22+
"moox/wordpress-core-installer": "^3.0"
2323
}
2424
```
2525

2626
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:
2727

2828
```json
2929
"extra": {
30-
"wordpress-install-dir": "custom/path"
30+
"wordpress-install-dir": "public/wp"
3131
}
3232
```
3333

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+
3436
The root composer package can also declare custom paths as an object keyed by package name:
3537

3638
```json

0 commit comments

Comments
 (0)