Minggu, 23 Oktober 2016

How to Install Composer


How To Install Composer 

What is composer ?

Composer is an application-level pacakge manager for the PHP programming Language that provides a standard format for managing dependencies of PHP software and required libraries. 
source : Wikipedia

Composer is very usefully for programing especially for get package/libraries or depedencies which need for development.

Let straight to install composer on your computer or laptop.

- Install Composer on Linux/Debian

First, update the package manager by running:

sudo apt-get update

Now, let's install the dependencies. We'll need curl,git and php5-cli to download Composer. git is used by Composer for downloading project dependencies. Let's following command:

sudo apt-get install curl php5-cli git

Downloading and instaling composer with following command :

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

this command will be download and install composer under /user/local/bin
and now, if the installation success you can type on your terminal with following command :
composer

and then composer has been installed on your computer.


- Install Composer on window

For install composer on window you just download and get latest composer installer on getcomposer.org, install composer via .exe. follow instruction and composer should be installed on your compouter, and than you can use composer via terminal window



Thas is some tutorial who i can tell, hope you enjoy thank's you

see you and the next tutorial ..

    Choose :
  • OR
  • To comment
Tidak ada komentar:
Write komentar