• Call Us: +92-333-7276335
  • - Mail Us: info@shekztech.com

Plot 1177, Sector 31B - Crossing, Karachi, Sindh

Loading...
Download and install the composer in windows
  • Views: 4.3K
  • Category: Web Development
  • Published at: 29 May, 2018
  • Updated at: 18 Aug, 2023

Download and install the composer in windows

Download and install the composer on Windows

While working on the project, it's hard to download the packages/dependencies or required libraries, and if you are working on PHP, it's tough to manage your dependencies. Before starting, let me introduce your new friend, Composer; Composer is a manager, and it is a dependency manager that provides the standard to manage PHP application/software dependencies. If you have been working on PHP for a long time and are still unfamiliar with Composer, trust me, Composer is your best friend while working on projects. We can save time by using Composer to download the packages or dependencies; many frameworks and applications require Composer before starting their environment, like Laravel.

Today, we will download and install the Composer on our Windows machine. First, go to Composer's official website, hit the download button, and find Composer-Setup.exe. 

composer Windows Installer

 

Once you download the setup, click on it, begin your installation, and hit the next button; it will ask you, "Choose the command-line PHP you want to use"  hit the Next button again.

 

Choose the command-line PHP you want to use

 

Using the proxy, click the checkbox button, define your proxy (if you want to add the proxy then click on otherwise leave this), and then hit the Next button. If you are not using the proxy, click on the Next button.

 

compsoer define your proxy

 

Now it will show you the PHP version; just hit the next button, and I am currently using the latest PHP version, 8.1

 

Once again, hit the Next button and finish your installation.

Now go to your search panel in Windows and type cmd; it's your command prompt; open it.

 

 

Now type Composer. It will show you the composer version.

Check Composer is installed or not

 

 

https://www.youtube.com/watch?v=4LdJqh_KAQI

 

Conclusion

Managing packages while working on projects is very hard, especially if you are working on PHP, so why do you waste your time downloading the packages OR dependencies from their sites?

Using Composer, you can download your packages and dependencies with a simple command (depending on which package you want to download). Using the Composer, we can reduce our time downloading the packages and libraries within a few seconds.

Shehzad Ahmed

Shehzad Ahmed is a highly qualified expert with a Master of Philosophy in Computer Science and a decade of extensive industry experience. With his impressive track record in web development and computer science, he has not only left an indelible mark on the industry but also made substantial contributions to education. Since , he has created more than eighty exhaustive courses, paving the way for innumerable individuals interested in learning and development. His unparalleled knowledge and innate ability to elucidate complex ideas make him a highly sought-after educator and consultant. Choose Shehzad and take advantage of his exceptional balance of technical expertise and teaching prowess to propel your learning journey or project to new heights.

0 Comment(s)
Write your comment