Composer easy tutorial – php dependency management tool


Composer is a tool for dependency management for your php projects. Suppose you are working in a project which has lots of dependency on others project or libraries.

Composer will manage that dependency on below ways.

  1. Download all the dependency library from their repository to your project automatically.
  2. You can easily update your library when a new version of that library comes out.
  3. When downloading dependency library composer also checks minimum server requirement.
  4. Composer will create a single autoloader.php file for all downloaded library and autoload all the dependency into your project.
Continue reading...