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 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 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 agophpspec: Testing... *Designing* with a Bite
By: SymfonyCastsphpspec: a tool for unit testing? Sure... but, oof, it's so much cooler than that! Yes, just like with our phpunit tutorial, when we finally launch our dinosau2h 54m -
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 -
Updated 2y 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 2y agoPHP From Scratch 2024 | Beginner To Advanced
By: Udemy, Brad TraversyLearn PHP fundamentals then build a job listing website from the ground up, using a Laravel-like infrastructure. This course is broken up into two parts. First18h 17m5/5 -
Updated 1y 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
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