Learning Composer, the PHP Dependency Manager
1hBeginner2018-01-08
Authors

Morten Rand-Hendriksen
Senior Staff Instructor, Speaker, Web Designer, and Software Developer
Course details
Learn how to work with the critical PHP dependency manager, Composer. With Composer, you can leverage third-party script libraries called packages, and reduce development time on your projects. This course shows how to install Composer on Mac and Windows, locate suitable Composer packages in the Packagist repository, and use those packages in your PHP projects. In chapter three, instructor Morten Rand-Hendriksen shows you how the Composer workflow looks in a production environment, and he gives you security tips on finding trustworthy packages.
Learning objectives
Running PHP
Installing Composer
Finding packages
Using packages in your code
Using Composer with version control
Updating packages
Learning objectives
Running PHP
Installing Composer
Finding packages
Using packages in your code
Using Composer with version control
Updating packages
Skills covered
ComposerPHPLearningProgramming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Welcome
- 02 - Exercise files
1. Introduction to Composer
- 03 - What is Composer
- 04 - Mac - Run PHP
- 05 - Mac - Install Composer
- 06 - Windows - Run PHP
- 07 - Windows - Install Composer
2. Using Composer
- 08 - Get ready to use Composer
- 09 - Add Composer to a project
- 10 - Find packages for Composer
- 11 - Add a Composer package
- 12 - Use packages in a project
- 13 - Version management
- 14 - The purpose of composer.lock
- 15 - Update Composer packages
- 16 - Useful Composer commands
3. Composer in Production
- 17 - Use Composer with version control
- 18 - Set up a project already using Composer
- 19 - What packages should you trust
Conclusion
- 20 - Thank you