This is the application directory. It contains a variety of additional directories, which are described below −
It is the application folder and includes the entire source code of the project. your application lives in the app directory. By default, this directory is namespaced under App and is autoloaded by Composer
The app directory contains a variety of additional directories such as Console, Http, Exceptions, and Providers.
Console includes the artisan commands necessary for Laravel. It includes a directory named Commands, where all the commands are declared with the appropriate signature. The file Kernal.php calls the commands declared in Inspire.php.
Http directory contains your controllers, middleware, and requests.
The Http folder has sub-folders for controllers, middleware and application requests. As Laravel follows the MVC design pattern, this folder includes model, controllers and views defined for the specific directories.
The Middleware sub-folder includes middleware mechanism, comprising the filter mechanism and communication between response and request. The Requests sub-folder includes all the requests of the application.
The config folder includes various configurations and associated parameters required for the smooth functioning of a Laravel application.
contains all of your application's configuration files.
As the name suggests, this directory includes various parameters for database functionalities. It includes three sub-directories as given below −
It is the root folder which helps in initializing the Laravel application. It includes the following files and folders.
Resources directory contains the files which enhances your web application.
Trending Tutorials