Ben genellikle public adını public_html olarak değiştirip index.php, htaccess gibi dosyaların yine public_html içerisine gelecek şekilde yüklüyorum. Diğer klasörler doğal olarak public_html dışında kalıyor. index.php dosyasına şunu eklemek lazım elbette:
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
// bu kısım buraya ekleniyor
$app->bind('path.public', function() {
return __DIR__;
});