Skip to content

Instantly share code, notes, and snippets.

@bytefade
Last active August 29, 2015 14:16
Show Gist options
  • Save bytefade/7f4ae5d31f19d87f4859 to your computer and use it in GitHub Desktop.
Save bytefade/7f4ae5d31f19d87f4859 to your computer and use it in GitHub Desktop.
Composer uso básico do básico
1 - Instalando via cURL:
curl -sS https://getcomposer.org/installer | php

Instalando via PHP:
php -r “readfile(‘https://getcomposer.org/installer’);” | php

*dentro do diretorio do projeto

2 - Ter o composer.json 
Exemplo:
...
"require": {
        "php": ">=5.2.8",
        "kevinlebrun/slug.php": "1.*"
}
...

3 - php composer.phar install

*dentro do projeto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment