title: Issues Installing PHPword
body: <p>I've been trying to install PHPWord for the last 4 hours and have had no luck. I've tried all methods of installation including composer as well as downloading the folder itself. Whenever I run the php file, it always returns me the error "Fatal error: Class 'PhpWord' not found in /home/ubuntu/workspace/hello-world.php on line 9" Also, it seems that whenever I attached the phpoffice/phpword in the composer.json file, it kept on giving me an installation error saying no version specified. BTW, I am running these files on a cloud hosting website (C9.io).</p>
  
  <p>I've attached my composer.json as well as the hello_world.php</p>
  
  <p>Any help is much appreciated.   </p>
  
  <p>hello_world.php</p>
  
  <pre><code>&lt;?php
  require_once('PHPWord-master/Autoloader.php');
  \PhpOffice\PhpWord\Autoloader::register();
  
  //use PhpOffice\PhpWord\PhpWord;
  //use PhpOffice\PhpWord\Style\Font;
  // Creating the new document...
  $phpWord = new PhpWord();
  
  /* Note: any element you append to a document must reside inside of a Section. */
  
  
  Note: it's possible to customize font style of the Text element you add in     three ways:
  - inline;
  - using named font style (new font style object will be implicitly created);
  - using explicitly created font style object. */
  // Adding Text element with font customized inline...
  $section-&gt;addText(
  htmlspecialchars(
  '"Great achievement is usually born of great sacrifice, '
  . 'and is never the result of selfishness." '
  . '(Napoleon Hill)'
  ),
  array('name' =&gt; 'Tahoma', 'size' =&gt; 10)
  );
  
  // Adding Text element with font customized using named font style...
  $fontStyleName = 'oneUserDefinedStyle';
  $phpWord-&gt;addFontStyle(
  $fontStyleName,
  array('name' =&gt; 'Tahoma', 'size' =&gt; 10, 'color' =&gt; '1B2232', 'bold' =&gt; true)
  );
  $section-&gt;addText(
  htmlspecialchars(
  '"The greatest accomplishment is not in never falling, '
  . 'but in rising again after you fall." '
  . '(Vince Lombardi)'
  ),
  $fontStyleName
  );
  
  // Adding Text element with font customized using explicitly created font      style object...
  $fontStyle = new \PhpOffice\PhpWord\Style\Font();
  $fontStyle-&gt;setBold(true);
  $fontStyle-&gt;setName('Tahoma');
  $fontStyle-&gt;setSize(13);
  $myTextElement = $section-&gt;addText(
  htmlspecialchars('"Believe you can and you\'re halfway there." (Theodor    Roosevelt)')
  );
  $myTextElement-&gt;setFontStyle($fontStyle);
  
  // Saving the document as OOXML file...
  $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');
  $objWriter-&gt;save('helloWorld.docx');
  
  // Saving the document as ODF file...
  $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'ODText');
   $objWriter-&gt;save('helloWorld.odt');
  
  // Saving the document as HTML file...
  $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'HTML');
  $objWriter-&gt;save('helloWorld.html');
  
  /* Note: we skip RTF, because it's not XML-based and requires a different     example. /
  / Note: we skip PDF, because "HTML-to-PDF" approach is used to create PDF documents. */
  ?&gt; 
  </code></pre>
  
  <p>This is the composer.json require part</p>
  
  <pre><code>"require": 
  {
  "php": "&gt;=5.3.3",
  "ext-xml": "*",
  "phpoffice/phpword":"dev-master"
  },
  </code></pre>