PHP for Beginners: Build a Notes App (Laracasts, 2023)
By Laracasts
- Course audio
- Course audio: English
- Level
- Beginner
- Length
- 50 lessons · 10.8 hours
What you'll be able to do
- Write PHP using variables, arrays, functions and conditionals
- Connect to MySQL with PDO and guard against SQL injection
- Build a form-based notes app with validation and routing
- Implement user registration, login and sessions
About this course
Laracasts' 2023 English PHP series has 50 episodes and about 10.8 hours, and it teaches by building one project. The first episodes cover choosing a language, tools, PHP tags, variables, conditionals, arrays, functions and lambdas. Then comes separating logic from templates, partials, a simple router, MySQL with PDO, a database class and SQL injection. A notes app brings forms, validation, authorization, namespaces, controllers, a service container and middleware. The later episodes add sessions, user registration, login and logout, password hashing, flashing old input, Composer, and testing with Pest. A solid start for web beginners who know basic HTML and want to move toward Laravel.
Before you start: Basic HTML and comfort using a code editor
Syllabus
50 lessons · 10:45:30 in total
- 1How to Choose A First Programming Language1:21
- 2PHP For Beginners, Ep 2 - Tools of the Trade8:38
- 3PHP For Beginners, Ep 3 - Your First PHP Tag8:10
- 4PHP For Beginners, Ep 4 - Variables7:19
- 5PHP For Beginners, Ep 5 - Conditionals and Booleans11:07
- 6PHP For Beginners, Ep 6 - Arrays8:38
- 7PHP For Beginners, Ep 7 - Associative Arrays7:20
- 8PHP For Beginners, Ep 8 - Functions and Filtering12:21
- 9PHP For Beginners, Ep 9 - Lambda Functions12:09
- 10PHP For Beginners, Ep 10 - Separate PHP Logic From the Template8:36
- 11PHP For Beginners, Ep 11 - Technical Check-In (With Quiz)4:54
- 12PHP For Beginners, Ep 12 - Page Links11:02
- 13PHP For Beginners, Ep 13 - Partials9:11
- 14PHP For Beginners, Ep 14 - Superglobals and Current Page Styling12:58
- 15PHP For Beginners, Ep 15 - Make a PHP Router18:03
- 16PHP For Beginners, Ep 16 - Create a MySQL Database6:10
- 17PHP For Beginners, Ep 17 - PDO First Steps14:25
- 18PHP For Beginners, Ep 18 - Extract a PHP Database Class10:35
- 19PHP For Beginners, Ep 19 - Environments and Configuration Flexibility13:00
- 20PHP For Beginners, Ep 20 - SQL Injection Vulnerabilities Explained10:57
- 21PHP For Beginners, Ep 21 - Mini-Project: Notes App7:53
- 22PHP For Beginners, Ep 22 - Render the Notes and Note Page14:28
- 23PHP For Beginners, Ep 23 - Introduction to Authorization14:21
- 24PHP For Beginners, Ep 24 - Programming is Rewriting12:18
- 25PHP For Beginners, Ep 25 - Intro to Forms and Request Methods18:08
- 26PHP For Beginners, Ep 26 - Always Escape Untrusted Input8:22
- 27PHP For Beginners, Ep 27 - Introduction to Form Validation12:51
- 28PHP For Beginners, Ep 28 - Extract a Simple Validation Class11:44
- 29PHP For Beginners, Ep 29 - Resourceful Naming Conventions6:37
- 30PHP For Beginners, Ep 30 - Autoloading and Extraction19:37
Show all 50 lessons
- 31PHP For Beginners, Ep 31 - Namespacing: What, Why, How12:09
- 32PHP For Beginners, Ep 32 - Handle Multiple Request Methods From a Controller Action?12:12
- 33PHP For Beginners, Ep 33 - Build a Better PHP Router20:46
- 34PHP For Beginners, Ep 34 - One Request, One Controller7:08
- 35PHP For Beginners, Ep 35 - Make Your First Service Container19:23
- 36PHP For Beginners, Ep 36 - Updating a Resource With PATCH Requests21:15
- 37PHP For Beginners, Ep 37 - Sessions 10113:57
- 38PHP For Beginners, Ep 38 - Register a New User19:00
- 39PHP For Beginners, Ep 39 - Write Your First Middleware22:05
- 40PHP For Beginners, Ep 40 - Manage Passwords Like This For The Remainder of Your Career4:50
- 41PHP For Beginners, Ep 41 - Log In and Log Out25:46
- 42PHP For Beginners, Ep 42 - Extract a Form Validation Object13:36
- 43PHP For Beginners, Ep 43 - Extract an Authenticator Class13:22
- 44PHP For Beginners, Ep 44 - The PRG Pattern (and Session Flashing)21:18
- 45PHP For Beginners, Ep 45 - Flash Old Form Data to the Session5:58
- 46PHP For Beginners, Ep 46 - Automatically Redirect Back Upon Failed Validation26:08
- 47PHP For Beginners, Ep 47 - Composer and Free Autoloading13:13
- 48PHP For Beginners, Ep 48 - Install Two Composer Packages: Collections and PestPHP15:36
- 49PHP For Beginners, Ep 49 - testing approach tdd and pest 2160p18:07
- 50PHP For Beginners, Ep 50 - The Next Step in Your Php Journey16:28
Questions
- How long is this course?
- It has 50 lessons and about 10.8 hours of video (10:45:30 in total). Your progress is saved lesson by lesson, so you can stop and continue on any device you sign in on, or in the same browser without signing in.
- Is this course in English?
- The lessons are taught in English. The teacher is Laracasts; the videos play from their official YouTube channel, and Sabaq adds the lesson order, progress tracking, notes and the summary on this page.
- Who is this course for, and what should I know first?
- It is aimed at beginners: it starts from the basics. Before you start: Basic HTML and comfort using a code editor.
- Is it free, and do I need an account?
- Yes, it is free to watch and no account is needed. The videos are official uploads by the teacher on YouTube; a free DanixSoft account is optional and only syncs your progress between devices.
- What should I take after this course?
- A good next step on Sabaq is “CS50's Web Programming with Python and JavaScript (Harvard, 2020)”. The “What to take next” list on this page shows more courses at the same or a higher level in the same topic.
What to take next
Videos by Laracasts, played from their official YouTube channel. Subscribe on YouTube
Official upload by the teacher or institution on their own channel, shown with YouTube's embedded player.
Lessons listed from the official YouTube playlist. Full playlist on YouTube
Lessons last checked Nov 2026. Course summary and lesson structure by Sabaq.
Report a problem or a rights request

