Back to Architecture Explorer
laravel / laravel
A PHP framework for web artisans
76.0k
PHP
Architecture: monolithic-framework
main
laravel
app
Console
Http
Models
Providers
bootstrap
config
database
public
resources
views
routes
tests
composer.json
Structural Architecture
Laravel's repository primarily represents the skeletal application structure (the exact scaffolding users gain when running `composer create-project`). This establishes opinionated perfection in defining how app routing, controllers, and models should interact.
- Opinionated MVC segregation, separating `views` (resources) from `controllers` (app/Http).
- Framework core (`illuminate`) hidden in `vendor`, strictly insulating framework internals from the skeletal application layout.
Notable Directories
/appWhere application logic resides: Models, Http Controllers, and Providers.
/routesCentralized execution paths cleanly segregating `web.php` and `api.php` endpoints.
/configMassive static configuration matrix mapping out all framework defaults.
Build Your Own Ecosystem
Learn from laravel's structure and craft your own software scaffolding.