Registry / build-tool / roots-wordpress-core-installer

roots-wordpress-core-installer

JSON →
library4.0.0phppackagistunverified

A Composer custom installer to handle installing WordPress as a dependency

composer require roots/wordpress-core-installer
INSTALL
IMPORT
SIG · ROOTS-WORDPRESS-CO
R
roots-wordpress-core-installer
build-toolphpv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Installer
use Roots\WordPressCoreInstaller\Installer;

Install WordPress core to a custom directory

<?php use Roots\WordPressCoreInstaller\Installer; $installer = new Installer(); $installer->install('wordpress', '/path/to/install');
Debug
Known issues
gotchaRequires Composer 2.x and specific configuration in composer.json.
fix
Add 'type' => 'wordpress-core' to your composer.json and use the installer plugin.
affects: >=4.0.0
Upgrade
Version history
4.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources
roots-wordpress-core-installer — pip install roots-wordpress-core-installer · libregistry