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
- Added to CourseFlix
- April 2024
- 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 |
One payment unlocks this course and every other premium course. No auto-renew.
See plansBooks
Read Book Writing Readable PHP
| # | Title | Type | Open |
|---|---|---|---|
| 1 | Book 1 | — | Unlock |
| 2 | Book 2 | — | Unlock |
| 3 | Book 3 | — | Unlock |
| 4 | Book 4 | — | Unlock |
| 5 | Book 5 | — | Unlock |
| 6 | Book 6 | — | Unlock |
| 7 | Book 7 | — | Unlock |
| 8 | Book 8 | — | Unlock |
| 9 | Book 9 | — | Unlock |
| 10 | Book 10 | — | Unlock |
| 11 | Book 11 | — | Unlock |
| 12 | Book 12 | — | Unlock |
| 13 | Book 13 | — | Unlock |
| 14 | Book 14 | — | Unlock |
| 15 | Book 15 | — | Unlock |
| 16 | Book 16 | — | Unlock |
| 17 | Book 17 | — | Unlock |
| 18 | Book 18 | — | Unlock |
| 19 | Book 19 | — | Unlock |
| 20 | Book 20 | — | Unlock |
| 21 | Book 21 | — | Unlock |
| 22 | Book 22 | — | Unlock |
| 23 | Book 23 | — | Unlock |
| 24 | Book 24 | — | Unlock |
| 25 | Book 25 | — | Unlock |
| 26 | Book 26 | — | Unlock |
| 27 | Book 27 | — | Unlock |
| 28 | Book 28 | — | Unlock |
| 29 | Book 29 | — | Unlock |
| 30 | Book 30 | — | Unlock |
| 31 | Book 31 | — | Unlock |
| 32 | Book 32 | — | Unlock |
| 33 | Book 33 | — | Unlock |
| 34 | Book 34 | — | Unlock |
| 35 | Book 35 | — | Unlock |
| 36 | Book 36 | — | Unlock |
| 37 | Book 37 | — | Unlock |
| 38 | Book 38 | — | Unlock |
| 39 | Book 39 | — | Unlock |
| 40 | Book 40 | — | Unlock |
| 41 | Book 41 | — | Unlock |
| 42 | Book 42 | — | Unlock |
| 43 | Book 43 | — | Unlock |
| 44 | Book 44 | — | Unlock |
| 45 | Book 45 | — | Unlock |
| 46 | Book 46 | — | Unlock |
| 47 | Book 47 | — | Unlock |
| 48 | Book 48 | — | Unlock |
| 49 | Book 49 | — | Unlock |
| 50 | Book 50 | — | Unlock |
| 51 | Book 51 | — | Unlock |
| 52 | Book 52 | — | Unlock |
| 53 | Book 53 | — | Unlock |
| 54 | Book 54 | — | Unlock |
| 55 | Book 55 | — | Unlock |
| 56 | Book 56 | — | Unlock |
| 57 | Book 57 | — | Unlock |
| 58 | Book 58 | — | Unlock |
| 59 | Book 59 | — | Unlock |
| 60 | Book 60 | — | Unlock |
| 61 | Book 61 | — | Unlock |
| 62 | Book 62 | — | Unlock |
| 63 | Book 63 | — | Unlock |
| 64 | Book 64 | — | Unlock |
| 65 | Book 65 | — | Unlock |
What courses are similar to Writing Readable PHP?
Updated 2mo agophpspec: 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 3y agoDocker for PHP Developers
By: Udemy"Docker for PHP Developers" is a book and video course that will teach you how to use Docker and PHP to create clean.7h 35m
Updated 2mo agoUltimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sass
By: UdemyLearn modern CSS and Sass, PHP with PDO and OOP, and JavaScript/AJAX across 441 lessons building a complete, up-to-date web project.95h 30m5/5
Updated 3y agoComplete Modern PHP Developer Course in 2023
By: UdemyUpdated to use PHP 8. PHP is one of the most popular programming languages in the world. It powers the entire modern web.23h 40m
Updated 2y agoDeploy PHP!
By: Servers for HackersIn this course, you will create a robust deployment strategy for PHP applications from scratch. We will start with simple operations and step by step move on to3h 47m
Updated 3y agoWrite PHP Like a Pro: Build a PHP MVC Framework From Scratch
By: UdemyLearn to write faster, easier to maintain, more secure PHP websites by using a model-view-controller framework. Learn the basic concepts of using a model-view-c2h 51m
Updated 3y agoMake a Spotify Clone from Scratch: JavaScript PHP and MySQL
By: UdemyDo you want to become an expert in JavaScript, PHP and MySQL? Do you want to build a real music streaming site just like Spotify? If so, you’re in the right pla14h 59m5/5
Updated 2mo agoLearning Yii 2
By: Lynda.comA hands-on first look at Yii 2: install a template with Vagrant, generate models and views, then build pages, search, and security.2h 51m
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