课程: Linux for PHP Developers

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Installing Composer dependency manager

Installing Composer dependency manager

课程: Linux for PHP Developers

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…

内容