Understanding the Directory Structure of Laravel 4.2

In this post I’ll try to explain the over all directory structure of Laravel 4.2. I think the understanding of the directory structure will proved to be helpful in order to create your websites and/or web applications. Let’s begin without wasting time anymore.

The general directory or application structure of laravel 4.2 is given below:

laravel 4.2
     --app
     --bootstrap
     --public
     --vendor
       composer.json
       composer.lock
       server.php

app directory

This directory is very important and we may say it the soul of our laravel application as it holds all the main and necessary components of our application which must not be public in any case. These important components are controllers, models, migrations, views, routes file, configuration files, storage and etc.

Continue reading

Advertisements