Composer is dependency manager command line utility and accompanying infrastructure tools. It is made in PHP and for PHP.
It can help you improve how you develop, share, make use of, host, and deploy your WordPress code and whole site stacks.
Checkout Guide to Composer in WordPress to read more on benefits it can bring.
composer require composer-wordpress/<release-type>
Different release types are available with WordPress core. The list of themes and plugins bundled differs between release types.
Name | Official | Packagist | Repository | Themes | Plugins | Beta & RC |
---|---|---|---|---|---|---|
Full | ✅ | full |
full |
3 latest official | Akismet, Hello Dolly | ✔️ |
New bundled | ✅* | new-bundled |
new-bundled |
3 latest official | none | ❌ |
No content | ✅* | no-content |
no-content |
none | none | ❌ |
WordPress Packagist mirrors the WordPress plugin and theme directories as a Composer repository.
It can be used to easily required any plugins from the WordPress Plugin Directory.
Checkout official documentation on wpackagist.org.