Core Laravel · 8 min read · Intermediate
Laravel Architecture, MVC & Artisan CLI
Understand Laravel's request lifecycle, folder layout, Composer autoloading, and the Artisan CLI.
What you'll learn
- Navigate `routes/`, `app/Http/Controllers`, `app/Models`, and `resources/views`
- Use `php artisan` to scaffold models, controllers, and migrations consistently
- Understand how `public/index.php` boots the HTTP kernel and middleware stack
Overview
Understand Laravel’s request lifecycle, folder layout, Composer autoloading, and the Artisan CLI.
Code Example
// Create a new Laravel project and start the local server
// composer create-project laravel/laravel devpath-app
// cd devpath-app && php artisan serve
// Inspect all registered routes from the terminal
// php artisan route:list
Key Takeaways
- Navigate
routes/,app/Http/Controllers,app/Models, andresources/views - Use
php artisanto scaffold models, controllers, and migrations consistently - Understand how
public/index.phpboots the HTTP kernel and middleware stack
Quick Check
Check Your Understanding
Score: 0 / 1
1. Which Artisan command creates a Model, Migration, and Resource Controller together?
Study Workspace
Finished this lesson?
Your progress is saved locally in your browser, no account needed.