https://github.com/solidbunch/wordpress-core
Composer-compatible package repository for WordPress core distributions for StarterKit project.
https://github.com/solidbunch/wordpress-core
composer packages starter-kit wordpress wordpress-core
Last synced: 9 months ago
JSON representation
Composer-compatible package repository for WordPress core distributions for StarterKit project.
- Host: GitHub
- URL: https://github.com/solidbunch/wordpress-core
- Owner: solidbunch
- License: mit
- Created: 2025-08-04T18:38:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-10-01T03:41:47.000Z (9 months ago)
- Last Synced: 2025-10-01T05:39:32.542Z (9 months ago)
- Topics: composer, packages, starter-kit, wordpress, wordpress-core
- Language: JavaScript
- Homepage: https://starter-kit.loc
- Size: 13.7 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SolidBunch WordPress Core
A Composer-compatible repository of WordPress core distributions maintained by SolidBunch for the [StarterKit](https://starter-kit.io).
---
## 🧩 Available Packages
This repository provides two variants of the WordPress core:
- **`solidbunch/wordpress-core`** – full WordPress archive (identical to [wordpress.org](https://wordpress.org/download))
- **`solidbunch/wordpress-core-no-content`** – lightweight archive without `wp-content/`, ideal for CI/CD or StarterKit use
---
## ✅ Usage
### Add the repository to your `composer.json`
```json
"repositories": [
{
"type": "composer",
"url": "https://solidbunch.github.io/wordpress-core"
}
]
```
### Install full WordPress
```json
"require": {
"solidbunch/wordpress-core": "^6.8"
}
```
### Install minimal WordPress (no-content)
```json
"require": {
"solidbunch/wordpress-core-no-content": "^6.8"
}
```
---
## 📆 About the Packages
| 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
---
## 🔧 Custom Install Paths with solidbunch/composer-installers
To control where the WordPress core is installed (e.g. `web/wp-core/` instead of `vendor/`), use the optional Composer plugin:
```bash
composer require solidbunch/composer-installers
```
Then add the installer path to your `composer.json`:
```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.
---
## ⚙ Automatic generation
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)
---
## StarterKit Integration
### [Website](https://starter-kit.io) | [Documentation](https://starter-kit.io/docs/overview/)
See the [StarterKit installation guide](https://starter-kit.io/docs/installation/).
---
## Stay Connected
- Participate on [GitHub Discussions](https://github.com/solidbunch/starter-kit-foundation/discussions)
- Connect via [LinkedIn](https://www.linkedin.com/company/solidbunch)