Composer is an Essential Software used for Packaging and Dependency Management.
What is Dependency Management –
You may have seen one software project using multiple libraries which are dependencies. And when taking this project to another computer you have to take the libraries and supporting softwares with it. This can be automated by using Composer which is a dependency management tool for PHP similarly there are other tools like Gradle and Maven for Java based applications and so on. You can use Composer to Add dependency of your app/project automatically to a new installation setup if you distribute your app/project.
When you’re using Third Party Framework / Application to build your application that third party application may be using libraries that are part of PHP ecosystem. To automatically fetch these used libraries to your computer / setup Composer is used.
So to use Any sophisticated third party framework / application you will need Composer Installed on your computer. Now that you know the role of Composer let’s get to the steps and conditions to Installing and Using Composer.
Prerequisites to Installing Composer
- You should have PHP Installed on your Windows Computer.
- The Latest PHP Version is 8.2 and 8.3
- You can visit this link to see instructions of how to Install PHP Version 8.2 and 8.3 on Windows 10 / 11
Step 1
Go to this link – https://getcomposer.org/download/
Click to download “Composer-Setup.exe”
After Downloaded click on file to Install just click next and complete installation.
To Test
Go to windows search and type “cmd” click and open
Then in command type “composer” and press Enter
You should see composer information and confirm that composer is added to your computer
by ajithimself@yahoo.com
Share
Get In Touch for Free Consultation!
Send Whatsapp Message to
+91 8793326974
Vishal Nagar, Pimple Nilakh
411027
Pune.
Near Wakad.