What is Composer in PHP? How to use it - Introduction for beginners
Coding Reflections
This video is about Composer - the dependency management tool for PHP. Discussing how to set it up on a computer, and how to search, install, update, and remove packages using it.
Table of Contents
0:00 Intro 1:09 Installing Composer (on Ubuntu) 6:36 Discussing the frequently used Composer commands 9:28 Example 1: Installing the Guzzle package 10:18 Understanding composer.json and composer.lock files 16:14 Importing packages using autoload 18:19 Testing if everything is working 20:17 Example 2: Installing an image manipulation package 22:28 Updating packages 22:49 Removing a package 23:12 Outro
Website: https://codingreflections.com
Server providers: Linode: https://codingreflections.com/go/linode/ DigitalOcean: https://codingreflections.com/go/digitalocean/
Disclaimer:
This video is based on my personal experiences and knowledge. There is no guarantee that the information shared is 100% accurate.
Disclosure:
This video and its description may contain affiliate links, which can earn us commission if someone purchases products using those links. ... https://www.youtube.com/watch?v=FNa5heI6BD8
91937251 Bytes