| Server IP : 157.230.181.24 / Your IP : 216.73.217.11 Web Server : Apache/2.4.58 (Ubuntu) System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/untold/vendor/johnpbloch/wordpress-core-installer/ |
Upload File : |
# WordPress Core Installer
This is a [custom Composer installer](http://getcomposer.org/doc/articles/custom-installers.md) for WordPress core. It is a proof of concept, but feel free to use it. The package is on [packagist](http://packagist.org) and the package name is `johnpbloch/wordpress-core-installer`.
### Usage
To set up a custom WordPress build package to use this as a custom installer, add the following to your package's composer file:
```
"type": "wordpress-core",
"require": {
"johnpbloch/wordpress-core-installer": "~0.1"
}
```
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:
```
"extra": {
"wordpress-install-dir": "custom/path"
}
```
The root composer package can also declare custom paths as an object keyed by package name:
```
"extra": {
"wordpress-install-dir": {
"wordpress/wordpress": "wordpress",
"johnpbloch/wordpress": "jpb-wordpress"
}
}
```
### License
This is licensed under the GPL version 2 or later.