# PHP Composer

# Upgrading from 1.x to 2.0

Check out the packagist blog post (opens new window) of an overview.

composer self-update --2

# Rolling back from 2.0 to 1.x

Use composer self-update --rollback to return to version 1.10.6

# Platform Check Error

In one local dev environment, the platform-check (opens new window) was causing an issue. Still learning why it caused an issue. For now, I resolved it by adding this to my local composer.json file:

  "config": {    
    "platform-check": false,    
  },

Then running:

composer dump-autoload
Last Updated: 4/7/2021, 8:08:55 PM