From the course: Linux for PHP Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing Composer dependency manager

Installing Composer dependency manager

From the course: Linux for PHP Developers

Start my 1-month free trial

Installing Composer dependency manager

- [Instructor] There's a good chance that you've heard about Composer, but what is it exactly? Remember how we've been using APT, a package manager? Composer is similar, but has a narrower focus. Composer is an application-level package manager for PHP, available from https://www.getcomposer.org. Composer downloads dependencies for PHP applications, such as libraries. It does not include support for installing non-PHP software, like a database service. We're going to use Composer to install the PHP frameworks in this course, and some of the tools. While there is some community support for the use of Composer within WordPress and Drupal, it's not the current recommended method of installation of the main application. To install Composer, we're going to use an installation method from https://www.getcomposer.org that should work for all versions. It will download the current version of the executable as composer.phar into the current directory. For convenience, the installer is included…

Contents