A Composer-compatible repository of WordPress core distributions maintained by SolidBunch for the StarterKit.
This repository provides two variants of the WordPress core:
solidbunch/wordpress-core
– full WordPress archive (identical to wordpress.org)solidbunch/wordpress-core-no-content
– lightweight archive withoutwp-content/
, ideal for CI/CD or StarterKit use
"repositories": [
{
"type": "composer",
"url": "https://solidbunch.github.io/wordpress-core"
}
]
"require": {
"solidbunch/wordpress-core": "^6.8"
}
"require": {
"solidbunch/wordpress-core-no-content": "^6.8"
}
Package name | Contents | Target use case |
---|---|---|
solidbunch/wordpress-core |
Full WP archive | General usage, classic setup |
solidbunch/wordpress-core-no-content |
No wp-content/ |
DevOps, CI, custom themes |
All packages include:
- Correct PHP version requirement (parsed from official WordPress metadata)
license: MIT
- Optional
extra.mysql_version
field for advanced tooling
To control where the WordPress core is installed (e.g. web/wp-core/
instead of vendor/
), use the optional Composer plugin:
composer require solidbunch/composer-installers
Then add the installer path to your composer.json
:
"extra": {
"installer-paths": {
"web/wp-core/": [
"type:wordpress-core"
]
}
}
This plugin recognizes type: wordpress-core
and places the archive into the specified directory.
❗
solidbunch/composer-installers
is not required inside the WordPress core package itself. It should be used by the consuming project.
The packages.json
is updated automatically using:
- Official WordPress API:
https://api.wordpress.org/core/version-check/1.7/
- Node.js script
generate-packages-json.js
(included in this repository) - Optional GitHub Actions trigger (e.g. daily schedule)
See the StarterKit installation guide.
- Participate on GitHub Discussions
- Connect via LinkedIn