Laravel sample site
This site keeps Laravel's standard folder structure. The whole app sits in the web root, and every request is forwarded into public/, so nothing outside it can be opened from a browser.
Check it yourself
| Open | Expected result |
|---|---|
| /about | A Laravel page |
| /api/health | JSON from routes/api.php |
| /css/app.css | The stylesheet, served from public/css |
| /.env | 403 Forbidden |
| /composer.json | 403 Forbidden |
| /storage/logs/laravel.log | 403 Forbidden |