Laravel Tutorial
Laravel is the most popular modern PHP framework, known for its expressive, elegant syntax and a huge, well-documented feature set that covers nearly everything a real-world web application needs — routing, an ORM, templating, authentication, background jobs, testing, and more, all designed to work together cleanly. This is the most complete track on this site: 30 lessons covering Laravel from your first route all the way through queues, events, broadcasting, and testing, so that landing on this page gives you a genuinely full picture of how Laravel works.
Where this fits: Laravel assumes solid Core PHP and OOP knowledge (classes, interfaces, namespaces) — if any of that feels shaky, the Core PHP track is worth a refresher first. Composer knowledge is assumed too, since Laravel is installed and managed entirely through it.
What Makes Laravel Different
| Compared to... | Laravel's approach |
|---|---|
| Core PHP | Instead of wiring up routing, database access, and templating yourself, Laravel gives you all of it out of the box, consistently designed |
| CodeIgniter / Slim | Laravel is a full-stack, "batteries included" framework — it ships with an ORM (Eloquent), a queue system, an event system, and more, rather than staying minimal |
| CakePHP / Symfony | Laravel leans on "convenience over ceremony" — expressive, chainable APIs (Eloquent, the Query Builder, the routing API) rather than heavier configuration-driven setups |
A Quick Look Ahead
Example: A Route, a Controller, and Eloquent Working Together
<?php
// routes/web.php
Route::get('/articles/{id}', [ArticleController::class, 'show']);
// app/Http/Controllers/ArticleController.php
class ArticleController extends Controller
{
public function show(Article $article)
{
return view('articles.show', ['article' => $article]);
}
}
Note: This is correct, real Laravel code — but this website's own project doesn't run a Laravel application, so you won't see it actually execute on this page. Follow along by installing Laravel locally after the next page's setup steps.
What You'll Learn In This Track
| Area | Covered in |
|---|---|
| Foundations | Installation, directory structure, routing, controllers, Blade |
| Data layer | Eloquent models, relationships, query scopes, migrations, seeders |
| Application architecture | The service container, service providers, middleware, form requests/validation |
| Users & access | Authentication, authorization (Gates & Policies) |
| Background & real-time work | Events, jobs/queues, task scheduling, caching, broadcasting |
| Shipping it | API resources, file storage, mail/notifications, testing, security |
Next steps: Head to Installation & Setup to create your first Laravel project via Composer.