Skip to content

jberculo/wordpress-core-installer

 
 

Repository files navigation

WordPress Core Installer

Build Status codecov License: GPL v2 Packagist GitHub tag

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

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": "^1.0"
}

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-core": "jpb-wordpress"
	}
}

License

This is licensed under the GPL version 2 or later.

About

A composer installer for WordPress core so I can stop saying core is a wordpress-plugin type package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%