Composer🌙Useful Commands

View the config list 1 composer config --list Checking common errors to help debug problems 1 composer diagnose Show the list of outdated packages 1 composer outdated Show information about installed dependencies 1 composer info 1 composer show For specific dependencies 1 composer show intervention/image Dependencies available 1 composer show --all Navigation Show dependency homepage or repo url 1 composer browser intervention/image --show Navigate to dependency homepage url 1 composer browser intervention/image --homepage Navigate to dependency repo url 1 composer browser intervention/image To be continued … 😄

August 16, 2021 · 1 min · Me

Composer | composer.lock

If you’re familiar with composer then, you will always find composer.lock in the root source of your project. This file contains the list of installed dependencies of your project. composer.lock ensures everyone working on your project is running with the same dependencies versions. Now, we get the idea of why commit the composer.lock file to git. It may confuse you that we are already using a specific version in composer.json. Yes, we do, but the dependencies also require other dependencies that are not bound by these constraints....

August 8, 2021 · 1 min · Me