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
- Level
- All levels
- Language
- English
- Updated
- 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
What courses are similar to Writing Readable PHP?
-
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 1mo agoMake a Google search engine clone: JavaScript PHP and MySQL
By: UdemyDo you want to become an expert in JavaScript, PHP and MySQL? Do you want to build a real search engine just like Google? If so, you’re in the right place! This5h 47m -
Updated 2y agoPractical Object Oriented Programming
By: CodecourseLearn OOP with a practical twist, and finish up by building a todo application to cover what we've learned.3h 28m5/5 -
Updated 2y agoMake a Google search engine clone: JavaScript PHP and MySQL
By: UdemyDo you want to become an expert in JavaScript, PHP and MySQL?Do you want to build a real search engine just like Google? If so, you’re in the right place!5h 47m5/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 -
Updated 2y agoRefactoring to Collections
By: Adam WathanLearn how to craft simple, elegant code that's a pleasure to write and a joy to maintain.4h 44m -
Updated 2y 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
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