r/Coder • • Aug 26 '18

Add Composerfor PHP

Please add Composer https://getcomposer.org/

4 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/WubsGames Sep 07 '18

Hello, I was able to get Composer to install: https://i.imgur.com/iGhLwhw.png

Full install script:

apt-get update
apt-get install curl php-cli php-mbstring git unzip libcurl3 libpq-dev
cd ~
curl -sS r/https://getcomposer.org/installer -o composer-setup.php
php composer-setup.php --install-dir=/usr/local/bin --filename=composer

1

u/WubsGames Sep 07 '18

Hopefully that helps you out :)