Composer on ArchLinux

A composer is a dependency manager for PHP
https://getcomposer.org/

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

Edit your php.ini

Uncomment out bellow code.

extension=phar.so
extension=openssl.so

Then, follo this code, at open_basedir declaration (around line 309)

":/user/local/bin"

Restart Httpd Server

sudo systemctl restart httpd

Update Composer

$ sudo composer self-update 

関連記事