38 Composer
PHP is extensive, but it is usually not useful without external libraries. The Composer package and dependency manager makes it easy to use.
When using libraries written in PHP, a common question is: How do I install them? As a rule, this used to mean finding and reading the documentation and then hoping that the library in question also works for the local system. For most software, however, this is a procedure of the past because Composer has been around since 2012. This is a program developed by Nils Adermann and Jordi Boggiano (and numerous other open-source enthusiasts), which can also be used to resolve dependencies. It can be used to install many PHP libraries via the command line, including any other required packages. This ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access