Use Composer to Easily Manage PHP Packages

preview_player
Показать описание
Learn how to use Composer to manage PHP packages and dependencies.

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
• The vendor folder
• Requiring packages only in development

Links shown in the video:

Videos:

Images used:

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
08:14 composer update
08:33 Removing packages
09:06 Version constraints
10:21 Updating packages
12:05 Ignoring the vendor folder
12:59 update vs install
14:02 Development packages
15:21 Summary

#PHP #composer
Рекомендации по теме
Комментарии
Автор

You are a perfect teacher, Dave. Thanks a lot.

sammygitongar
Автор

You are the best PHP teacher on YT. Thank you!

bitpilot
Автор

Short yet very informative,
Thanks Dave!

ahmad-murery
Автор

That's an awesome tutorial, thank you very much!

FrancisBoudreau
Автор

Great tutorial again, thanks Dave

🙂

pottersplants
Автор

Dave, could you please make a tutorial like this for using PDO with SQLite3? Would be nice

Jerementor
Автор

Hello sir.

I'm someone who just finished your php for beginners course and I'm glad I did.

But I'm curious to know if you have any thoughts on the next step (preferably)from your channel sir.

For someone who can't afford the MVC course for now, maybe you'd have some better list to try hands on after that sir

abdussamadola
Автор

Hi, can you make video on how to implement rate limiting OTP/Verification Link request for verifying account in PHP?

atharvagitaye
Автор

4:46 I don't know why my vendor files not appear, can you help me?

syahmihakimbinabdulhalim
Автор

OT - any chance that XAMPP would replace MySQL with Postgres?

Steve-Richter
Автор

I'm new on PHP, what special to learning fast?

eratechsglobal
Автор

Thanks very much, Dave.
Can you help me with a serious challenge that I am facing, please?

My PHPMailer successfully sends mail as $mail->send() = true;

But there's no mail in the target inbox!

How would you overcome this?

NedumEze