Application Structure of laravel?

Posted by

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOps School!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

The application structure in Laravel is basically the structure of folders, sub-folders and files included in a project. Once we create a project in Laravel, we get an overview of the application structure

  • App: The app directory holds the base code for your Laravel application.
  • bootstrap: The bootstrap directory contains all the bootstrapping scripts used for your application.
  • config: The config directory holds all your project configuration files (.config).
  • database: The database directory contains your database files.
  • public: The public directory helps start your Laravel project and maintains other necessary files such as JavaScript, CSS, and images of your project.
  • resources: The resources directory holds all the Sass files, language (localization) files, and templates (if any).
  • routes: The routes directory contains all your definition files for routing, such as console.php, api.php, channels.php, etc.
  • storage: The storage directory holds your session files, cache, compiled templates, and miscellaneous files generated by the framework.
  • test: The test directory holds all your test cases.
  • vendor: The vendor directory holds all composer dependency files.

Application Structure

guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x