Helper to generate WordPress Composer packages
This package helps to generate Composer packages for any WordPress release.
$ vendor/bin/wordpress-packager [--source SOURCE] [-t|--type TYPE] [-u|--unstable] [--] <remote> <package>
Required.
A valid git repository remote.
Eg. https://github.com/org/project.git
Required.
A valid Composer package name.
Eg. wordpress-package
Optional, default WPDotOrgAPI
.
Must be a PHP class implementing Roots\WordPressPackager\ReleaseSources\SourceInterface
.
Provides the implementation of data generation for packages.
Optional, default full
.
Different release types are available as WordPress core deliveries.
The list of themes and plugins bundled differs between release types.
Type | Official | Themes | Plugins | Beta & RC |
---|---|---|---|---|
full |
✅ | 3 latest official | Akismet, Hello Dolly | ✔️ |
new-bundled |
✅* | 3 latest official | none | ❌ |
no-content |
✅* | none | none | ❌ |
* Although they are not extensively documented, these builds are made available by WordPress.org as regular builds.
Optional.
If set, the available unstable releases (beta & release candidates) will be added as well.