Introducing Dependency Management and Composer7:02 with Alena Holligan
The most effective developers are the ones who know what code to write and what code to use. These external "packages" of code are called dependencies, because your application depends on them. Composer is a tool to help you manage which packages, and which package versions, your application depends upon.
Composer - Dependency Manager for PHP
PHPMailer - full-featured email creation and transfer class for PHP
PHPUnit - The PHP Unit Testing framework.
composer require phpmailer 0
If composer require does not install the packages, make sure you run composer update. You can specify a single package to update.
composer require league/oauth2-google composer update league/oauth2-google
You need to sign up for Treehouse in order to download course files.Sign up