将Laravel 5.2部署到共享主机域。 内核路由问题

I am deploying a Laravel application to shared hosting. The Larevel files sit in a folder called PGM in the user folder and the public files sit in the public folder.

Paths:

/home/name/PGM/

/home/name/public_html/

I have edited the index.php to:

require __DIR__.'/../PGM/bootstrap/autoload.php';


$app = require_once __DIR__.'/../PGM/bootstrap/app.php';

I am however getting the following error message in the log:

[17-Aug-2016 19:01:46 UTC] PHP Warning: include(/home/parsonsgreenmedi/PGM/vendor/composer/../../app/Http/Kernel.php): failed to open stream: No such file or directory in /home/parsonsgreenmedi/PGM/vendor/composer/ClassLoader.php on line 412

I am using PHP 5.6