# Overview
# Installation
The recommended way to install this library is with Composer. Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project.
composer require addwiki/mediawiki-api-base:~3.0
Alternatively, you can specify addwiki/mediawiki-api-base as a dependency in your project’s existing composer.json file:
{
"require": {
"addwiki/mediawiki-api-base": "~3.0"
}
}
After installing, you need to require Composer’s autoloader:
require 'vendor/autoload.php';
You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at getcomposer.org.
# Bleeding edge
During your development, you can keep up with the latest changes on the master branch by setting the version requirement for addwiki/mediawiki-api-base to ~3.0@dev
.
{
"require": {
"addwiki/mediawiki-api-base": "~3.1@dev"
}
}