title: Deploy Laravel 5 using only FTP in a shared hosting
body: <p>I need to deploy a laravel 5 project to a client host.</p>
  
  <p>The plan of my client is basic hosting: Linux + MySql without cpanel or similar (i.e. no admin panel).</p>
  
  <p>I have access only via ftp and only to a folder named www.mycustomerweb.com. It means I can not create a directory at the same level of www.mycustomerweb.com folder. Only inside it (I think it is called shared hosting).</p>
  
  <p>One year ago, I deployed a project made with Laravel 4 this way:</p>
  
  <ol>
  <li>got rid of public folder moving its content to root folder and updating index.php and bootstrap.php</li>
  <li>finished whole project in localhost (with Xampp)</li>
  <li>uploaded all files to www.myclientweb.com via ftp.</li>
  </ol>
  
  <p>My questions are:</p>
  
  <ol>
  <li><p>Did I do everything all right with laravel 4 project? May I have fallen into security issues (I mean, is the site safe)?</p></li>
  <li><p>How do I deploy a laravel 5 project to the same site? In Laravel 5 I can not get rid of public folder as I did with Laravel 4.</p></li>
  </ol>
  
  <p>Right now, I have set up a fresh installation of Laravel 5 on localhost and then I have uploaded all files to www.myclientweb.com folder via ftp:</p>
  
  <ul>
  <li>I can see wellcoming page of laravel at <a href="http://www.myclientweb.com/public">http://www.myclientweb.com/public</a>.</li>
  <li>I can not see anything at <a href="http://www.myclientweb.com/">http://www.myclientweb.com/</a></li>
  <li>And also I CAN SEE .env CONTENT AT <a href="http://www.myclientweb.com/.env">http://www.myclientweb.com/.env</a> ??????? </li>
  </ul>
  
  <p>Surely this is not the right way...</p>
  
  <p>I've had a long searching through the web and Stackoverflow with no luck.</p>
  
  <p>Really apprecite any help.</p>
  
  <p>Thanks for reading.</p>