title: cakephp 3 failed to open vendor/autoload.php after cloning a git repository
body: <p>I have a git repository which is a simple cakephp3 application. (i cant share because that is private).
  i forked the repository and cloned it to my local directory, but as i open the url it gives me this error:</p>
  
  
  
  <pre class="lang-html prettyprint-override"><code>Warning: require(C:\xampp\htdocs\cakephp\shopinator\sms\smsv3\vendor\autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\cakephp\shopinator\sms\smsv3\config\bootstrap.php on line 23 Fatal error: require(): Failed opening
  required 'C:\xampp\htdocs\cakephp\shopinator\sms\smsv3\vendor\autoload.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\cakephp\shopinator\sms\smsv3\config\bootstrap.php on line 23
  </code></pre>
  
  <p>I also have composer installed and is recognizable. I'm using git bash.</p>
  
  <p>the same repository is running fine on another machine.</p>
  
  <p>Any help would be appreciated. </p>
  
  <p><strong>Update:</strong>
  I've tried it this way:
  I'm installing cakephp 3 using composer, it still gives me the same error.</p>
  
  <pre><code>composer create-project cakephp/app
  </code></pre>
  
  <p>I've also tried <a href="https://stackoverflow.com/questions/29913693/cakephp-3-composer-installation-error">this</a> but no luck.</p>
  
  <p><strong>Update:</strong></p>
  
  <p>with this command</p>
  
  <pre><code> composer create-project --prefer-dist cakephp/app
  </code></pre>
  
  <p>the fresh installation worked.</p>