curl -sS https://getcomposer.org/installer | php
#!/usr/bin/env php
All settings correct for using Composer
Downloading...
Composer successfully installed to: /srv/www/mediawiki-japi/mediawiki-japi/composer.phar
Use it: php composer.phar
php composer.phar require mediawiki/semantic-media-wiki "~2.0"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing composer/installers (v1.0.19)
Downloading: 100%
- Installing psr/log (1.0.0)
Downloading: 100%
- Installing data-values/interfaces (0.1.4)
Loading from cache
- Installing data-values/data-values (1.0.0)
Downloading: 100%
- Installing data-values/validators (0.1.2)
Downloading: 100%
- Installing data-values/common (0.2.3)
Downloading: 100%
- Installing param-processor/param-processor (1.2.2)
Downloading: 100%
- Installing mediawiki/validator (2.0.4)
Loading from cache
- Installing mediawiki/semantic-media-wiki (2.0)
Downloading: 100%
- Installing sebastian/version (1.0.4)
Downloading: 100%
- Installing sebastian/global-state (1.0.0)
Downloading: 100%
- Installing sebastian/exporter (1.0.2)
Downloading: 100%
- Installing sebastian/environment (1.2.1)
Downloading: 100%
- Installing sebastian/diff (1.2.0)
Downloading: 100%
- Installing sebastian/comparator (1.1.0)
Downloading: 100%
- Installing symfony/yaml (v2.6.1)
Downloading: 100%
- Installing doctrine/instantiator (1.0.4)
Downloading: 100%
- Installing phpunit/php-text-template (1.2.0)
Downloading: 100%
- Installing phpunit/phpunit-mock-objects (2.3.0)
Downloading: 100%
- Installing phpunit/php-timer (1.0.5)
Downloading: 100%
- Installing phpunit/php-file-iterator (1.3.4)
Downloading: 100%
- Installing phpunit/php-token-stream (1.3.0)
Downloading: 100%
- Installing phpunit/php-code-coverage (2.0.14)
Downloading: 100%
- Installing phpunit/phpunit (4.4.1)
Downloading: 100%
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files
Update the database:
php maintenance/update.php
MediaWiki has been successfully installed.
Consult the User's Guide for information on using the wiki software.