title: How to set up phpseclib with composer
body: <p>I have downloaded phpseclib using composer and it created the path /var/www/html/dom/vendor/phpseclib/phpseclib/phpseclib </p>
  
  <p>Now I am not sure where I include my test.php file to run it. Continuously getting the error " Fatal error: Class 'phpseclib\Net\SSH2' not found in /var/www/html/dom/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 50"</p>
  
  <p>My code of test.php is </p>
  
  <pre><code>&lt;?php
  set_include_path(get_include_path() . PATH_SEPARATOR . '/phpseclib');
  include('Net/SFTP.php');
  
  $sftp = new Net_SFTP('domain');
  if (!$sftp-&gt;login('user', 'pass')) {
      exit('Login Failed');
  }
  
  // outputs the contents of filename.remote to the screen
  echo $sftp-&gt;get('filename.remote');
  // copies filename.remote to filename.local from the SFTP server
  //$sftp-&gt;get('filename.remote', 'filename.local');
  
  ?&gt;
  </code></pre>