LARAGON – Update Composer

1. Introduction

In Laragon, updating Composer to its latest version is easy.

You can upgrade or downgrade Composer in the terminal window.

2. Currently installed Composer version?

  • Open a terminal window by clicking the Terminal button in the Laragon Button Menu.
  • If necessary, go to the folder \LARAGON\bin\composer\.
  • Then enter composer -V to get the exact composer version installed.

3. Laragon - Updating Composer

  • Enter composer self-update to update composer to its latest stable version.

You can always undo an up- or downgrade by using composer self-update --rollback.

One comment

  1. Thank you for this post on how to upgrade Composer in Laragon.
    You saved my life.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.