Laravel

How to update composer.phar ?

Sometime when we create a project or install a package to our existing project ,face this warning. It is a warning statement from composer to user that your composer is not up to date.

Warning: This development build of composer is over 60 days old. 
It is recommended to update it by running 

"C:\ProgramData\ComposerSetup\bin\composer.phar self-update" to get the latest version.

Really you should make your composer up to date to use newer versions of libraries that are compatible with your package

composer warning

How to remove it ?

If you are using XAMPP server, Go to your command promt or terminal and find your xampp/htdocs or if you are using WAMP server, find out wamp/www directory and type the following command

composer self-update

up composer

After typing the above command press enter key and you see your composer will start update to a newer version.when downloading reach to 100%, your composer has updated.

If you have any question, feel free to ask me .

Thanks

Please follow and like us:

About Viren-Dra Yadav

Tech Enthusiast | Open Source Lover | WordPress Explorer | Mad for Speed | DevOps Engineer | AgriTech
View all posts by Viren-Dra Yadav →

Leave a Reply

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