Companion repository for the Code with Antonio video course · Watch on YouTube.
Laravel 13 forms & validation tutorial: turn a read-only app into a full CRUD in 21 minutes — Form Requests, Route::resource, @csrf and flash messages.
The notes app from tutorial 1 gets a create form, validation with error messages, a Form Request, and edit and delete with a resource controller: a full CRUD
| # | Lesson | Video | Folder |
|---|---|---|---|
| 1 | How a form reaches Laravel | 0:00 | lessons/01-how-a-form-reaches-laravel |
| 2 | The create form | 3:49 | lessons/02-the-create-form |
| 3 | Validation: rules, errors and old input | 7:24 | lessons/03-validation-rules-errors-and-old-input |
| 4 | Form Requests | 11:15 | lessons/04-form-requests |
| 5 | Edit and update with a resource controller | 13:40 | lessons/05-edit-and-update-with-a-resource-controller |
| 6 | Delete, flash messages and what's next | 17:36 | lessons/06-delete-flash-messages-and-what-s-next |
- Laravel 13.x (mar 2026, PHP ≥ 8.3) · en este Mac 13.32.0
- PHP, Composer and the Laravel installer (one command, see lesson 2) or Laravel Herd
- Node.js + npm
cd app
composer install
cp .env.example .env
php artisan key:generate
touch database/database.sqlite
php artisan migrate
npm install && npm run build
composer run devREADME.md this file
lessons/ one folder per lesson: goal, timestamp, commands and files exactly as in the video
app/ the final working project
assets/ thumbnail
MIT — use it for anything, credit appreciated.
Generated on 2026-09-22 from the course scripts. Code with Antonio · AI tutor.