Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 618 Bytes

File metadata and controls

29 lines (22 loc) · 618 Bytes

Composer


Everything you should know about the Dependency Management for PHP


Installation / Usage

$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer

Alternatively you can use the executable composer.phar.

$ composer require tobymaxham/url-shortener

... will create a composer.json file ...

{
    "require": {
        "tobymaxham/url-shortener": "^1.1"
    }
}

... also all required dependencies will be installed under /vendor/.