public dizininden default olarak gelen (index.php, .htaccess vb.) dosyaları ana dizine taşı sonra index.php dosyasında
require __DIR__ . '/../bootstrap/autoload.php';
$app = require_once __DIR__ . '/../bootstrap/app.php';
Bu değerleri
require __DIR__ . '/bootstrap/autoload.php';
$app = require_once __DIR__ . '/bootstrap/app.php';
bununla değiştir artık sayfaya erişmek için public yazmana gerek kalmaz