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 yazmanıza gerek kalmaz.
NOT:ALINTIDIR