Learn how to write code that’s a joy to read for you, your co-workers, and future self. View high-quality videos on both clean coding and static analysis.
Writing Readable PHP
Writing Readable PHP is a 23-lesson 2 hours 40 minutes self-paced course by Spatie. Learn how to write code that’s a joy to read for you, your co-workers, and future self.
Course facts
- Lessons
- 23
- Duration
- 2 hours 40 minutes
- Language
- English
- Instructor
- Spatie
- Price
- Premium
Are you...
- Staring at your old code as if someone else wrote it?
- Coding in a team without clean code habits?
- Struggling with consistent naming?
- Stop the madness! Let’s learn how to write readable PHP in this hands-on course.
Who teaches Writing Readable PHP? Spatie
Spatie is a Belgian web-development agency and one of the most respected names in the Laravel ecosystem — the author of more than 350 open-source PHP / Laravel packages (Laravel Permission, Laravel Backup, Laravel Translatable, Laravel Image Optimizer, and many others) that anchor a substantial portion of working Laravel codebases. Spatie's paid course material extends the same depth into long-form video.
The CourseFlix listing carries two Spatie courses: Writing Readable PHP (the code-quality / readability discipline applied to modern PHP) and Testing Laravel with PHPUnit (the testing workflow for production Laravel applications).
Material is paid and aimed at PHP / Laravel developers ready to take code quality and testing as serious professional disciplines. For broader content, see CourseFlix's Laravel and PHP category pages.
What lessons are included in Writing Readable PHP?
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | Automatically formatting code Demo | 06:01 | |
| 2 | FORMATTING CODE USING GITHUB ACTIONS | 03:28 | |
| 3 | Be Expressive | 08:58 | |
| 4 | Be Consistent | 06:53 | |
| 5 | Replace booleans in models with timestamps | 03:53 | |
| 6 | Avoid using else | 06:31 | |
| 7 | Refactoring complex conditionals | 10:51 | |
| 8 | Make sure boolean parameters are readable | 05:41 | |
| 9 | Using custom exceptions | 11:22 | |
| 10 | Skip optional parameters by using named arguments | 04:38 | |
| 11 | Replace if blocks with match | 04:01 | |
| 12 | Trying out PHPStan for the first time | 07:34 | |
| 13 | Class strings | 05:38 | |
| 14 | Arrays and collections | 11:06 | |
| 15 | Generics | 10:21 | |
| 16 | Ignoring PHPStan issues | 02:53 | |
| 17 | Use multiple routes files | 05:41 | |
| 18 | Use custom Eloquent collections | 07:10 | |
| 19 | Avoid strings where possible | 06:00 | |
| 20 | Use Laravel's more descriptive methods if given | 07:25 | |
| 21 | Leverage form requests | 10:27 | |
| 22 | Use macros to clean up code | 06:02 | |
| 23 | Embrace factories | 07:58 |
Get instant access to all 22 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscriptionBooks
Read Book Writing Readable PHP
| # | Title | Type | Open |
|---|---|---|---|
| 1 | Book 1 | — | |
| 2 | Book 2 | — | |
| 3 | Book 3 | — | |
| 4 | Book 4 | — | |
| 5 | Book 5 | — | |
| 6 | Book 6 | — | |
| 7 | Book 7 | — | |
| 8 | Book 8 | — | |
| 9 | Book 9 | — | |
| 10 | Book 10 | — | |
| 11 | Book 11 | — | |
| 12 | Book 12 | — | |
| 13 | Book 13 | — | |
| 14 | Book 14 | — | |
| 15 | Book 15 | — | |
| 16 | Book 16 | — | |
| 17 | Book 17 | — | |
| 18 | Book 18 | — | |
| 19 | Book 19 | — | |
| 20 | Book 20 | — | |
| 21 | Book 21 | — | |
| 22 | Book 22 | — | |
| 23 | Book 23 | — | |
| 24 | Book 24 | — | |
| 25 | Book 25 | — | |
| 26 | Book 26 | — | |
| 27 | Book 27 | — | |
| 28 | Book 28 | — | |
| 29 | Book 29 | — | |
| 30 | Book 30 | — | |
| 31 | Book 31 | — | |
| 32 | Book 32 | — | |
| 33 | Book 33 | — | |
| 34 | Book 34 | — | |
| 35 | Book 35 | — | |
| 36 | Book 36 | — | |
| 37 | Book 37 | — | |
| 38 | Book 38 | — | |
| 39 | Book 39 | — | |
| 40 | Book 40 | — | |
| 41 | Book 41 | — | |
| 42 | Book 42 | — | |
| 43 | Book 43 | — | |
| 44 | Book 44 | — | |
| 45 | Book 45 | — | |
| 46 | Book 46 | — | |
| 47 | Book 47 | — | |
| 48 | Book 48 | — | |
| 49 | Book 49 | — | |
| 50 | Book 50 | — | |
| 51 | Book 51 | — | |
| 52 | Book 52 | — | |
| 53 | Book 53 | — | |
| 54 | Book 54 | — | |
| 55 | Book 55 | — | |
| 56 | Book 56 | — | |
| 57 | Book 57 | — | |
| 58 | Book 58 | — | |
| 59 | Book 59 | — | |
| 60 | Book 60 | — | |
| 61 | Book 61 | — | |
| 62 | Book 62 | — | |
| 63 | Book 63 | — | |
| 64 | Book 64 | — | |
| 65 | Book 65 | — |
What courses are similar to Writing Readable PHP?
UpdatedPractical Object Oriented Programming
By: CodecourseLearn core OOP principles – encapsulation, inheritance, polymorphism – by building a working todo application from scratch.3h 28m5/5
Updated 2y agoSelf-Made SaaS Course
By: Andrew SchmelyunLearn how to build a full SaaS app from idea to launch. This course walks you through each step in clear, simple terms.5h 19m
Updatedphpspec: Testing... *Designing* with a Bite
By: SymfonyCastsSee how phpspec turns unit testing into a design process, covering specifications, ObjectBehavior, Prophecy test doubles, and Red-Green-Refactor.2h 54m
Updated 2y agoPHP with Laravel - Create a Restaurant Management System
By: UdemyWelcome to the PHP with Laravel - Create a Restaurant Management System. The course covers the concepts of using PHP and Laravel Framework to build an innovativ9h 39m
Updated 3y agoMastering Laravel 10 Query Builder, Eloquent & Relationships
By: UdemyAre you struggling with Laravel databases and Eloquent? Do you want to learn how to easily manage your database with migrations and seeders? Look no further tha7h 27m
Updated 2y agoMaster Laravel & Create High-Level Applications with Laravel
By: UdemyLearn Laravel, while creating an eShop in the process. Bring to live all those ideas in your head after learning Laravel by doing. The course is compatible with14h 44m
ClassicBecome a WordPress Developer: Unlocking Power With Code
By: UdemyLearn PHP, JavaScript, WordPress theming & the WP REST API to Create Custom & Interactive WordPress Websites.41h 45m5/5
More courses by Spatie
Updated 2y agoTesting Laravel with PHPUnit
In this course, Brent will help you get started testing a Laravel application. He'll cover how to get started, how to test every functionality in Laravel, and g2h 42m5/5