Composer basics

Start new php project:

Install a new packages with:

Use to find the exact component name

In order to get the latest versions:

Uninstall packages from composer:

Search package from composer:

Shows a list of installed packages that have updates available:

You should always run the validate command before you commit your composer.json file:


Programmer by day and mostly by night as well.