What is composer in PHP?
A composer is a tool for dependency management in PHP. It allows us to declare the libraries our project depends on and it will manage (install/update) them for us. Composer is not a package manager in the same sense as Yum or Apt are. Yes, it deals with packages or libraries, but it manages them on a per-project basis, installing them in a directory (e.g. vendor) inside your project.