update composer
I tried starting a new Laravel project from my Mac’s Terminal and came across this message saying, “Warning: This development build of composer is over 30 days old. It is recommended to update it by running “/usr/local/bin/composer self-update” to get the latest version.” So I ran this command to get the latest composer.
sudo /usr/local/bin/composer self-update
You’ll be prompted to enter the Admin password.
And that’s the way you get the latest update of Composer.
Now, back to the new project.