.. _setup:

Installation
============

It is recommended that you install the PHPWord library through composer. To do so, add the following lines to your composer.json.

.. code-block:: json
    {
        "require": {
           "phpoffice/phpword": "dev-master"
        }
    }

