I'll give a breif overview of composer and guide you to install composer on windows operating system.
In this lecture you will learn how to install packages with composer.\r\n
There are two methods to install packages with composer, the first method is using the composer require command while the second method is to manually add the package name and key to composer.json file and then run composer install in the command line
In this lecture you will learn how to use the two packages or libraries (Carbon: a simple PHP DateTime API and Swift Mailer: PHP Mail API) that we installed in the last lecture in your project easily.
When you install a library or package via composer and require composer autoload file in your script you can use those libraries directly with including or requiring them explicitly again. Composer also has the ability to autoload your own classes or file if the correct parameters are provided in composer dot json file. In this lecture you will learn about three different methods of leveraging composer autoloading feature.
In this lecture you will learn how to install dependencies that is only required during development.
In this lecture you will learn how to update dependencies installed with composer and also how to update composer itself.
In this lecture, I will introduce you to some useful composer commands, you will learn how to update specific dependencies, update lock file using update command, remove specific dependencies from your project and how to set composer config option. You will also learn to update and use a library when there is a major release that requires you to make changes to your code.
In this video I'll give a brief overview of the package that we will be creating and reorganize the current working directory.
In this lecture you will learn how to create a library class for the project.
We are now ready to test the library that we created previously
In this lecture you will learn how to put together a composer dot json file that will be accepted on packagist.org
We are now ready to push the library to GitHub, let create a repository and setup things.
In this lecture we shall submit the package to packagist.org and setup auto update so that changes made to the library will be updated immediately on packagist.org.
Let add some description and usage guide to the readme file so that other developers can easily understand how to use the package.
Let now use the package we just published in a new project by requiring it with Composer.