Use Composer to Easily Manage PHP Packages
Learn how to use Composer to manage PHP packages and dependencies.
Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth
Topics covered:
• What packages are in PHP
• Using Packagist to find packages
• Installing Composer
• Installing packages with Composer
• Installing specific package versions
• Using Composer version constraints
• composer.json and composer.lock
• The vendor folder
• Requiring packages only in development
Links shown in the video:
‣ https://getcomposer.org/
‣ https://packagist.org/
‣ https://www.php.net/
‣ https://www.apachefriends.org/
‣ https://semver.org/
Videos:
‣ Importing namespaced elements with the use operator: https://youtu.be/GrXtA5zCGFk
‣ Send email with PHP: https://youtu.be/fIYyemqKR58
Images used:
‣ https://www.iconarchive.com/show/leaf-mimes-icons-by-untergunter/app-x-php-icon.html
‣ https://www.flaticon.com/free-icons/woman
‣ https://www.flaticon.com/free-icon/developer_5072855
‣ https://www.flaticon.com/free-icon/developer_5813004
‣ https://www.flaticon.com/free-icon/freelance_1705349
‣ https://www.flaticon.com/free-icon/software-developer_10488168
‣ https://www.flaticon.com/free-icon/file-management_15260747
‣ https://www.flaticon.com/free-icon/message_3062634
‣ https://www.flaticon.com/free-icon/check_14090371
00:00 Introduction
00:13 What is a package?
01:17 Packagist
02:09 What is a dependency?
02:49 What is Composer?
03:10 Installing Composer
04:11 Installing packages
05:11 Composer's autoloader
06:10 Packages with dependencies
07:06 composer.json
08:14 composer update
08:33 Removing packages
09:06 Version constraints
10:21 Updating packages
11:37 composer.lock
12:05 Ignoring the vendor folder
12:59 update vs install
14:02 Development packages
15:21 Summary
#PHP #composer
Видео Use Composer to Easily Manage PHP Packages канала Dave Hollingworth
Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth
Topics covered:
• What packages are in PHP
• Using Packagist to find packages
• Installing Composer
• Installing packages with Composer
• Installing specific package versions
• Using Composer version constraints
• composer.json and composer.lock
• The vendor folder
• Requiring packages only in development
Links shown in the video:
‣ https://getcomposer.org/
‣ https://packagist.org/
‣ https://www.php.net/
‣ https://www.apachefriends.org/
‣ https://semver.org/
Videos:
‣ Importing namespaced elements with the use operator: https://youtu.be/GrXtA5zCGFk
‣ Send email with PHP: https://youtu.be/fIYyemqKR58
Images used:
‣ https://www.iconarchive.com/show/leaf-mimes-icons-by-untergunter/app-x-php-icon.html
‣ https://www.flaticon.com/free-icons/woman
‣ https://www.flaticon.com/free-icon/developer_5072855
‣ https://www.flaticon.com/free-icon/developer_5813004
‣ https://www.flaticon.com/free-icon/freelance_1705349
‣ https://www.flaticon.com/free-icon/software-developer_10488168
‣ https://www.flaticon.com/free-icon/file-management_15260747
‣ https://www.flaticon.com/free-icon/message_3062634
‣ https://www.flaticon.com/free-icon/check_14090371
00:00 Introduction
00:13 What is a package?
01:17 Packagist
02:09 What is a dependency?
02:49 What is Composer?
03:10 Installing Composer
04:11 Installing packages
05:11 Composer's autoloader
06:10 Packages with dependencies
07:06 composer.json
08:14 composer update
08:33 Removing packages
09:06 Version constraints
10:21 Updating packages
11:37 composer.lock
12:05 Ignoring the vendor folder
12:59 update vs install
14:02 Development packages
15:21 Summary
#PHP #composer
Видео Use Composer to Easily Manage PHP Packages канала Dave Hollingworth
Комментарии отсутствуют
Информация о видео
2 мая 2024 г. 18:11:05
00:15:40
Другие видео канала