In this tutorial, we are going to learn how to update the composer in Laravel.
Open the composer folder where it is located in your system.
It is usually located in:
Your System name can be Admin or the name that appears while starting your window or when you log out your window.
Open the command prompt by any 2 methods:
By typing cmd in the search box of Window OR
Click Window + R to open Run, then type cmd
In cmd enter the path of your composer folder in the cmd. It should look like this:
Now cmd has the path of composer and it will show path like:
Update the composer version
To update the composer version to the latest stable version type following in cmd
Check the updated version of the Composer
Now the latest stable version of the composer has installed in your system.
To check the updated version of the composer type the following command in cmd
or you can try