Composer - The Ultimate Guide for PHP Dependency Management

Hack PHP Dependency Management, Master Composer a Modern PHP Development Tool and Learn to Create your own PHP Packages

4.20 (315 reviews)
Udemy
platform
English
language
Development Tools
category
6,818
students
2.5 hours
content
Dec 2018
last update
$49.99
regular price

What you will learn

Install and use PHP packages with composer

Update project dependencies

Learn to use composer Autoloading Feature

How to create a package and submit it to packagist so that other developers can use your package

Send mail from PHP App using Swift Mailer

Apply Confidently for PHP developer jobs knowing you can jump into a dev team and start contributing to projects immediately.

Become an efficient (Save time and effort) PHP developer

Contribute to open source community

Access to my Introduction to Programming in PHP Course on Devscreencast dot com

Description

In this series, you will learn how to manage PHP project dependencies using Composer.

In modern PHP development, Composer has become an indispensable tool that has aided the rapid development of the PHP Language.

Composer is a dependency manager for PHP (a tool used for installing, updating, and managing libraries that your project depends on).

It is used in almost all modern PHP frameworks, such as Symfony, CakePHP, and Laravel. Composer is one of the most highly recommended tools that solve fundamental issues in many web projects.

Hack PHP Dependency Management, Master Composer, a Modern PHP Development Tool, and Learn to Create your PHP Packages.

Some problems that Composer solves include:

  • Resolving dependencies for PHP packages

  • autoloading solution for PHP packages

  • keeping all packages updated

Most PHP packages are built on top of other well-known PHP packages; a typical example is Symfony components which form the bedrock for many PHP frameworks such as Laravel. Composer developers can reuse stable PHP libraries, and Composer will automatically handle dependency resolution. When you install a package, it will automatically install all the required dependencies for you.


Some of the benefits of using Composer include the following:

  • Quickly integrate libraries from vendors like AWS, Stripe, Pusher, Algolia, and others.

  • Ability to use ready-made packages that solve everyday problems. Do you need a validation package? Search for validation on packagist and get started right away. Do you need to handle "date"? Search for Carbon on packagist and get started right away.

  • Autoload all your files and classes using Composer's autoloading feature

  • keeping all packages updated

Composer is a fantastic tool that significantly speeds up the development of PHP projects. Ready to take your PHP SKILLS to the next level?


ENROLL NOW

Content

Meet Composer

Welcome to the Course!
Intro and installation on Windows
Installation on Mac OsX
Basic Composer Commands
Installing PHP Project Dependencies with Composer
How to use PHP Libraries Installed with Composer
How to Review This Course
Autoloading Classes and Files with Composer
Installing Development Dependencies with Composer
Updating Project Dependencies with Composer
More Composer Commands

Project - Creating and Publishing a Library to Packagist.org

Project structure and Overview
Creating The Package Class
Testing the Package Class
Updating Composer dot Json File for Submitting
Setting Up Package Versioning Control with Git and GitHub
Submitting the Package and Configuring Auto Update
Updating Readme.md File with Package Usage Instruction
Using the Package in a new Project
Download Project Source Code

Advance Concepts - Going Deep

Defining Scripts and Listening for Composer Events
Writing custom commands and Referencing scripts
Bonus Lecture - Discounts

Screenshots

Composer - The Ultimate Guide for PHP Dependency Management - Screenshot_01Composer - The Ultimate Guide for PHP Dependency Management - Screenshot_02Composer - The Ultimate Guide for PHP Dependency Management - Screenshot_03Composer - The Ultimate Guide for PHP Dependency Management - Screenshot_04

Reviews

Dinesh
June 12, 2023
I get to know new things definitely. But it could be more better. Thank you for your hard work and sharing your knowledge. Thanks
Tiago
March 7, 2023
It shows really important stuff about composer but the robotic presentation can make the student fall sleep after 2 or 3 classes.
Roland
January 12, 2023
In this course will be talked a lot about php, but no about composer itself. In my opinion the focus is not primarly on composer.
Agostinho
December 23, 2022
After finished: The Overall is just an OK course, because courses with words like ultimate or complete, i expect to be detailed about the topic. If your are a beginner, this course will be enough, even that version of composer used is not in v2. Positive: - Learn how to submit / publish a package to packagist - I learn something new in section 3. Negative: - No very detailed course, when you mention as ultimate course - it is outdated ( last was in 2018), it is still using v1 of composer where current is v2.5.1 ( at the time of write this) - some videos could be separated in two or more videos, - section 1. missing to show how update a packages to specific version via composer command - section 1, lesson 8: expect to be more detail like psr-0, classmap, etc and in separated videos - section 2: beside a simple lib without external deps, should exist another example with external deps - section 2: didint show, beside restrict the php version, how to indicate in packagist / composer related to our lib, which external deps is required and which is as required-dev or add suggests , in case of need it.
Javier
October 3, 2022
In the case of the bash command, those need to be updated. The same case for the mailer package. In some part, was confuse to me the user of the pull, fetch or push and the origin and master reposotory.
Viktoriia
June 27, 2022
It was a good course, but it looks like it was abandoned a while ago - no updates, no support for students with various compatibility issues.
Gordon
April 4, 2022
Got this course to quickly onboard into a workplace using composer for PHP development. Junior PHP Dev, coming back to PHP 8.1.4 from 10 years ago (PHP 5.4?) Composer is a bit more complicated than 2.5 hours. It took me about a week to get through with doing exercises. He does a good job in showing more advanced things like publishing your own packages. I was more interested in how to pull from composer.
Nitin
August 5, 2021
I have been working with php for a decade and still was working with basic composer commands. This course simpifies even the complex fundamentals of composer. I would recommend everyone who is working with php or any of the php frameworks to go through this course once
Carlos
April 22, 2021
Awesome so far! I needed to understand the basic concept behind compose and how to install on windows and install packaged, so great!!!! THANKS!!!!!
Khoa
June 24, 2020
Thank you for the course. The course helps me to understand composer better; however I wish there were more examples how to solve problems when failing to install packages by using composer.
Indranil
March 31, 2020
So much advanced level stuff. I have learned a lot. Thank you for addressing these parts of the PHP language. Hopping to get more advance level stuff like this.
Fabian
April 19, 2018
Composer is a very handy tool for php programmers. This course gives you all that you need to know about composer to develop php applications quickly. And of course Terry is a great instructor.
mf
February 20, 2018
In the end, I got what I came for, and for that I'll give it 4 stars. However, towards the end, too much time was wasted on writing the example class, as well as setting up a Github accnt, etc. I'm not here to worry about SSH, etc. I want to focus on Composer. Obviously, Git matters (e.g., tags for versioning). I'm not suggesting Git be completely ignored. But I did _a lot_ for fast forwarding over the final 4+ lessons; not so bad, I'm not going to die :) But I also almost missed the bit on tags (which is important). I also think a 10 minute summary final lesson would be helpful. Something that makes it easy to go back and recap really quick, in case you forget something.
Toudi
October 9, 2017
An excellent course really, although I was also expecting to find out some explanation on how to set up composer.json file with https of my github repository to install my package without any packagist interference.
Robin
April 29, 2017
A very interesting, detailed and useful course. Lots of examples of how to benefit from using the Composer tool (a dependency resolver for php). The course is well paced and I liked the fact that he was using zampp on the mac for some demonstrations. If you have been looking to reduce the number of includes and use statements in your php code then this course and the composer toolset is an excellent step in the right direction. Plus, you will also get to see how to share and re-use your own library through hithub. What I also liked about this course was how the instructor handled common problems and why they occurred and how to resolve them. A great example of addressing issues that you are likely to encounter along the way. Nicely done.

Coupons

DateDiscountStatus
12/9/2019100% OFF
expired

Charts

Price

Composer - The Ultimate Guide for PHP Dependency Management - Price chart

Rating

Composer - The Ultimate Guide for PHP Dependency Management - Ratings chart

Enrollment distribution

Composer - The Ultimate Guide for PHP Dependency Management - Distribution chart
1175710
udemy ID
4/10/2017
course created date
11/21/2019
course indexed date
Bot
course submited by