title: How to use PHPMailer via Composer on FTP
body: <p>i have started making my own site where i want to use <a href="https://github.com/PHPMailer/PHPMailer" rel="nofollow noreferrer">PHPMailer</a>!.First of all i installed PHPMailer via Composer(cmd) on my desktop then used localhost to run my page where the PHPMailer was running just fine.I then tried to just transfer my page files and files that were generated in there from PHPMailer (those are:<strong>vendor</strong> directory ,<strong>composer.json</strong>,<strong>composer.lock</strong>) to FTP.When i tried running it on live page it didn't work and threw Error:</p>
  
  <pre><code>Fatal error: require(): Failed opening required '/www/sites/0/site25740/public_html/vendor/composer/ClassLoader.php' 
  (include_path='.:/usr/share/php:/usr/local/zend/share/ZendFramework/library') in
   /www/sites/0/site25740/public_html/vendor/composer/autoload_real.php on line 12
  </code></pre>
  
  <p>I think that my problem is that i generated those files into my desktop directory and therefore they are not working on live page.
  Is there any way to maybe generate those files on my FTP server or maybe changing the structure of those files to work on live page?</p>