How to manage Drupal with Composer
This article covers the essential Composer workflows for managing a Drupal site: installing modules and themes, updating packages, removing packages, and understanding the composer.json and composer.lock files. All commands are run via SSH — HOSTDOG provides SSH access and Composer 2 on all hosting plans.