Independent, nonprofit community
Learn Laravel by building.
New to Laravel? Try your first route in the browser. Already building forms? Give your app an API. Both paths are free.
Learning paths
Where are you starting?
All 9 coursesLaravel Rust
Build Field Notes in Rust, from laravel new --rust to a release checklist. Official APIs only, and the beta can still change.
Open the Rust pathQuick challenge
Which template will Laravel open?
View finderChallenge stamp
routes/web.php
return view('tasks.index');resources/views/tasks/index.blade.phpThe workshop
Under the hood.
Read the PHP behind the taskboard, from form validation to a queued reminder.
Build the taskboard HTTPlocalhost / Laravel
- Request
GET /tasks - Route
tasks.index - View
tasks/index.blade.php
200 OKtext/htmlRequest in flight…
Route::get('/tasks', function () {
return view('tasks.index', [
'tasks' => Task::query()
->latest('id')->limit(20)->get(),
]);
})->name('tasks.index');public function rules(): array
{
return [
'title' => ['bail', 'required', 'string', 'max:120'],
];
}public function handle(): void
{
Task::query()
->whereKey($this->taskId)
->whereNull('reminded_at')
->update(['reminded_at' => now()]);
}

