
- 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.
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.
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.
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.
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.
0 Comment(s)