How To Install Composer In Windows

By : PHPErrorCode October 4, 2017 147 Views php,laravel

Composer is a dependency manager tracking local dependencies of your projects and libraries. get it here. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

Composer is not a package manager in the same sense as Yum or Apt are. Yes, it deals with packages or libraries, but it manages them on a per-project basis, installing them in a directory (e.g. vendor) inside your project. By default it does not install anything globally.

What is Dependency management? :

Thus, it is a dependency manager. It does however support a "global" project for convenience via the global command.

Package is top repository. Now a days several most popular PHP frameworks are using composer as an internal part to manage dependencies such as laravel and symfony.

It is very easy and takes few steps to install Composer on your windows 7 8 or 10 system.

*Installation in Windows 7 8 or 10:

Download composer setup to install latest version of composer:-

Now you just need to set path of composer in path environment variable:-

Then you can use it via composer keyword in command line simply. Composer’s official website let you know how to install composer:-

If you are developing project using PHP framework and not using composer then use it and leave worrying about package management.