Composer is a widely-used PHP dependency and package manager that provides a simplified method to manage the external (non-core) code used by a WordPress site.
At the most basic level, Composer requires:
- A list of dependencies
- A place to put the dependencies
There are different cases for using Composer to manage dependencies on a WordPress site, including:
Manage dependencies for themes and plugins you’re currently developing
Manage the themes and plugins currently used on the site
Total site dependency management, including custom code
Complete the steps below before using this guide to create or manage updates on your Pantheon Composer-managed WordPress site.
Note for Existing WordPress Composer Sites
Please reach out to our Professional Services team for information on site migration services if you have an existing Composer-managed WordPress site that you would like to migrate to the Pantheon platform.
Review Composer's documentation to understand how Composer can be used independently of WordPress.
Review Custom Upstream Workflow.