© Sanjib Sinha 2017

Sanjib Sinha, Beginning Laravel, 10.1007/978-1-4842-2538-7_3

3. File Structure

Sanjib Sinha

(1)Howrah, West Bengal, India

Let us see what’s inside the installed Laravel folder ‘blog’. It has folders like ‘app’, ‘bootstrap’, ‘config’, ‘database’, ‘public’, ‘resources’, ‘storage’, ‘tests’, ‘vendor’, and a few more files, including a ‘composer.json’ file.

Let us first see how the file structure looks (Figure 3-1).

A435350_1_En_3_Fig1_HTML.jpg
Figure 3-1. Laravel 5.3.18 file structure

As you see, each folder and its included files have their own roles clearly defined. You should not try to change or tweak any source code.

The ‘app’ folder is extremely important. ...

Get Beginning Laravel: A beginner's guide to application development with Laravel 5.3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.