LARAVEL-FOLDER-STRUCTURE
Laravel Folder Structure
After installing Laravel using Composer, there are many files within the Laravel project folder. However, we only need to focus on specific folders.
- Public folder: This folder serves as the assets folder where we can place our CSS, JS, images, and more.
- Controller: The controllers can be found inside the app folder, specifically in the HTTP folder under the Controllers subfolder.
Project Name folder-> HTTP-folder->controller
- Models: The models are located in the app folder under the Models subfolder.
Project Name folder-> HTTP-folder->Models
- Views: The views can be found in the app folder under the Views subfolder.
Project Name folder-> Views
- Routes: The routes are located in the app folder under the Routes subfolder.
Project Name folder-> Routes
- Inside the vendor folder, all the third-party libraries are stored.