© 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).

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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.