Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to upgrade version of composer

Tags:

composer-php

I was trying to require a package using composer require command, and I faced following error

Some Symfony Flex features may not work as expected: your version of Composer is too old Please upgrade using https://getcomposer.org/

I visited mentioned website for upgrading, but I couldn't find anything about updating composer.

How can I update composer?

I am using Linux Mint 18.3.

like image 844
eylay Avatar asked Jun 06 '18 18:06

eylay


Video Answer


1 Answers

Use this command to update the version of composer:

composer self-update
like image 148
Dhaval Mistry Avatar answered Oct 29 '22 07:10

Dhaval Mistry