What is Composer? How to install composer

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

Composer is a tool to manage the dependency in PHP. Composer allows declaring the libraries of a project and the composer will install or update them for the user. It is not a package manager but deals with the libraries or packages and install them inside the project directory. The composer is downloaded by the installer in the windows and sets up a path for the environment that can be called from any directory.

The composer can be installed using a command

$curl -sS https://getcomposer.org/installer | 
sudo php -- --install-dir=/usr/local/bin --filename=composer

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Laravel 5 interview questions

    List Server Requirements for installing Laravel 6

    There is quite a requisite for the installation of Laravel 6. And, below is the list of the required servers that are needed for the installment of it.PHP 7.2.0 version Extension of BCMath PHP J...

    Laravel 5 interview questions

    What is Laravel Homestead ?

    Laravel Homestead helps in providing you a development environment and also that too without the installation of the PHP, HHVM, web server or any such thing in your local machine. It is completely dis...