composer 설치
해당 폴더에서 설치
composer.phar 있는 폴더
curl -sS https://getcomposer.org/installer | php
전역 설치
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
설치 중에 오류
phpunit/phpunit 3.7.22 requires ext-dom * -> the requested PHP extension dom is missing from your system.
yum install php-xml
[root@localhost Spika-Server]# php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing imagine/imagine (v0.5.0)
Downloading: 100%
- Installing psr/log (1.0.0)
Downloading: 100%
- Installing symfony/event-dispatcher (v2.6.7)
Downloading: 100%
- Installing guzzle/guzzle (v3.9.3)
Downloading: 100%
- Installing symfony/stopwatch (v2.6.7)
Downloading: 100%
- Installing symfony/filesystem (v2.6.7)
Downloading: 100%
- Installing symfony/config (v2.6.7)
Downloading: 100%
- Installing symfony/console (v2.6.7)
Downloading: 100%
- Installing symfony/yaml (v2.6.7)
Downloading: 100%
- Installing satooshi/php-coveralls (dev-master 2fbf803)
Cloning 2fbf803803d179ab1082807308a67bbd5a760c70
- Installing symfony/routing (v2.6.7)
Downloading: 100%
- Installing symfony/debug (v2.6.7)
Downloading: 100%
- Installing symfony/http-foundation (v2.6.7)
Downloading: 100%
- Installing symfony/http-kernel (v2.6.7)
Downloading: 100%
- Installing pimple/pimple (v1.1.1)
Downloading: 100%
- Installing silex/silex (v1.2.4)
Downloading: 100%
계속 설치 됨..
- Installing squizlabs/php_codesniffer (2.3.2)
Downloading: 100%
imagine/imagine suggests installing ext-imagick (to use the Imagick implementation)
imagine/imagine suggests installing ext-gmagick (to use the Gmagick implementation)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
guzzle/guzzle suggests installing guzzlehttp/guzzle (Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated.)
symfony/console suggests installing symfony/process ()
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/http-kernel suggests installing symfony/class-loader ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/finder ()
symfony/http-kernel suggests installing symfony/var-dumper ()
silex/silex suggests installing symfony/css-selector (~2.3)
silex/silex suggests installing symfony/form (~2.3)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
sebastian/global-state suggests installing ext-uopz (*)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
symfony/dom-crawler suggests installing symfony/css-selector ()
symfony/browser-kit suggests installing symfony/process ()
Writing lock file
Generating autoload files
완료 된건가??