Structure
Application Structure
Directory Overview
app/ Application code (Controllers, Models, Middleware, etc.)
bootstrap/ Application bootstrapping and autoload setup
config/ Configuration files for the application
database/ Database-related files (migrations, factories, seeders)
lang/ Localization files
public/ Entry point for HTTP requests and public assets
resources/ Frontend assets like views, CSS, and JavaScript
routes/ Application route definitions
storage/ File storage, logs, and compiled views
tests/ Automated tests for the application
vendor/ Composer dependenciesThe app Directory
app DirectoryThe bootstrap Directory
bootstrap DirectoryThe config Directory
config DirectoryThe database Directory
database DirectoryThe public Directory
public DirectoryThe resources Directory
resources DirectoryThe routes Directory
routes DirectoryThe storage Directory
storage DirectoryThe tests Directory
tests DirectoryThe vendor Directory
vendor DirectoryCustomising the Structure
Last updated