Описание тега composer-php

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 in a directory inside your project.

By default it will never install anything globally.

Thus, it is considered a PHP-based project package manager.

Useful links

  • Current documentation: The main source of documentation 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 the vendor.zip file of your dependencies.

    Also, you can check the log of your build; it could be useful for debug.

  • Packanalyst: Packanalyst is a service that lets you browse packages from Packagist and shows who is using and implementing your interfaces / abstract classes / traits.