# Installation

## Requirements

Mandatory:

-  PHP 7.1+
-  PHP [DOM extension](http://php.net/manual/en/book.dom.php)
-  PHP [XML Parser extension](http://www.php.net/manual/en/xml.installation.php)
-  PHP [XMLWriter extension](http://php.net/manual/en/book.xmlwriter.php)


## Installation

### Using Composer

To install via [Composer](http://getcomposer.org), add the following lines to your `composer.json`:

``` json
{
    "require": {
        "phpoffice/math": "dev-master"
    }
}
```