title: Composer and registering Autoloader
body: <p>According to <a href="https://github.com/PHPOffice/PHPWord/tree/master" rel="nofollow">https://github.com/PHPOffice/PHPWord/tree/master</a> it infers I don't register autoloader if I install PHPWord via composer. See:</p>
  
  <pre><code>It is recommended that you install the PHPWord library through composer. To do so, add the following lines to your composer.json.
  
  {
      "require": {
         "phpoffice/phpword": "dev-master"
      }
  }
  Alternatively, you can download the latest release from the releases page. In this case, you will have to register the autoloader.
  
  require_once 'path/to/PhpWord/src/PhpWord/Autoloader.php';
  \PhpOffice\PhpWord\Autoloader::register();
  </code></pre>
  
  <p>(specifically <strong>In this case, you will have to register the autoloader.</strong>).</p>
  
  <p>However, if I install via Composer skip these lines</p>
  
  <pre><code>require_once 'path/to/PhpWord/src/PhpWord/Autoloader.php';
  \PhpOffice\PhpWord\Autoloader::register();
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>PHP Fatal error:  Class 'PhpOffice\PhpWord\Autoloader' not found in /Users/snowcrash/Developer/Code/PHP/PHPWord_Projects/test/basic_eg.php on line 3
  </code></pre>
  
  <p>So, my question is - do I need to require and register <code>Autoloader</code> with Composer?</p>
  
  <p>If so, is the documentation incorrect or am I misunderstanding something?</p>