Composer is an application-level package manager for the PHP programming language. It provides a standard format for managing with ease PHP-based project dependencies (libraries) and was strongly inspired by Node.js's "npm" and Ruby's "bundler". Use with the [php] tag
Presentation
Composer is an application-level package manager.
Yes, it deals with "packages" or libraries, but it manages them on a per-project basis, installing them inside your project's directory.
By default, it will never install anything globally.
Thus, it is considered a PHP-based project package manager.
Useful links
Current documentation: The primary documentation source for the project.
Packagist: It is the main Composer repository.
It aggregates all sorts of PHP packages that are installable with Composer.
The source code is available on GitHub and distributed under MIT license.
Composer as a service: copy/paste your
composer.json
and get thevendor.zip
file of your dependencies.
Also, you can check your build log; it could be helpful for debugging.
- Packanalyst: Packanalyst is a service that lets you browse packages from Packagist and shows who is using and implementing your interfaces / abstract classes/traits.