

Git, svn, fossil or hg depending on how the package is version-controlled.Ĭomposer is multi-platform and we strive to make it run equally well on Windows, To install packages from sources instead of plain zip archives, you will need Required, but when using the installer you will be warned about any A few sensitive php settings and compile flags are also Version (2.2.x) still offers support for PHP 5.3.2+ in case you are stuck withĪ legacy PHP version. See the Basic usage chapter for more details on declaringĬomposer in its latest version requires PHP 7.2.5 to run.

Installs them (meaning it downloads them into your project). Finds out which versions of which packages can and need to be installed, and.Enables you to declare the libraries you depend on.Some of those libraries depend on other libraries.You have a project that depends on a number of libraries.This idea is not new and Composer is strongly inspired by node's It does however support a "global" project for convenience via the Byĭefault, it does not install anything globally. It deals with "packages" or libraries, but it manages them on a per-projectīasis, installing them in a directory (e.g. The libraries your project depends on and it will manage (install/update) themĬomposer is not a package manager in the same sense as Yum or Apt are.

Composer is a tool for dependency management in PHP.
