title: PHPWord Save Directory
body: <p>I have no idea why but I am having a very difficult time getting PHPWord to function properly. Working through the errors I believe my below code is functioning yet I cannot find any output. So either 1) it's not ouputting anything or 2) I can't find the saved file (though I believe I've looked in every dir). Does anyone have any ideas? Thanks</p>
  
  <pre><code>require_once '/home/public_html/biz/PHPWord-master/src/PhpWord/Autoloader.php';
      \PhpOffice\PhpWord\Autoloader::register();
      require_once '/home/public_html/biz/PHPWord-master/src/PhpWord/PhpWord.php';
      $PHPWord = new \PhpOffice\PhpWord\PhpWord();
      $document = $PHPWord-&gt;loadTemplate('/home/public_html/biz/WordTemp.docx');
  
      $document-&gt;setValue('HERE', 'test');
  
      // Saving the document as OOXML file...
      $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($PHPWord, 'Word2007');
      $objWriter-&gt;save('helloWorld.docx');
  </code></pre>