Tag: Composer

Abstract blue background with wavy patterns and circular gradients, featuring the WordPress logo on the left, the Composer logo (a conductor illustration) on the right, and 40Q in the lower right corner.

Jun 1, 2023 / 6 min to read

How to Use Composer with WordPress

Note. This post draws heavily from this excellent article and combines those concepts with other experiences we’ve had using Composer. What is Composer Composer is a dependency manager for PHP. In the same way that npm exists for JavaScript, RubyGems for Ruby, or pip for Python, these dependency managers are responsible for handling all the […]

A cartoon conductor with raised hands appears above the word COMPOSER on a green abstract background with floating spheres and wavy lines.

Dec 6, 2021 / 2 min to read

How to Install Composer 1 and Composer 2 Side by Side on macOS

While most projects will likely use Composer 2, there are times when you need Composer 1 to make changes to an older project that was originally built using Composer 1. The most common way to handle this is by switching versions using an update. To switch to Composer 1: composer self-update --1. To switch to […]