In this section, we'll see the directory structure of Laravel.
In this section, we'll see the directory structure of Laravel.
It contains all the core code of your application.
It contains the app.php file which bootstraps the framework..
It contains all of your application's configuration files.
It contains your database migrations, model factories, and seeds.
It contains the index.php file, which is the entry point for all requests entering your application and configures autoloading.
It contains your views as well as your raw, un-compiled assets such as LESS, SASS, or JavaScript.
It contains all of the route definitions for your application.
It contains your compiled Blade templates, file based sessions, file caches, and other files generated by the framework.
It contains your automated tests.
It contains your Composer dependencies.
It contains all of the broadcast channel classes for your application.
It contains all of the custom Artisan commands for your application.
This directory does not exist by default, but will be created for you by the event:generate
and make:event
Artisan commands.
It contains your application's exception handler.
It contains your controllers, middleware, and form requests.
This directory does not exist by default, but will be created for you by the make:job
Artisan commands.
This directory does not exist by default, but will be created for you if you execute the event:generate
or make:listener
Artisan commands.
This directory does not exist by default, but will be created for you if you execute the make:mail
Artisan command.
This directory does not exist by default, but will be created for you if you execute the make:notification
Artisan command.
This directory does not exist by default, but will be created for you if you execute the make:policy
Artisan command. It contains the authorization policy classes for your application.
The Providers directory contains all of the service providers for your application.
This directory does not exist by default, but will be created for you if you execute the make:rule
Artisan command. It contains the custom validation rule objects for your application.