Skip to main content

Writing Readable PHP

2h 40m 32s
English
Paid

Course description

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.

Read more about the course

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.

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 23 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online Writing Readable PHP

0:00
/
#1: Automatically formatting code

All Course Lessons (23)

#Lesson TitleDurationAccess
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

Unlock unlimited learning

Get instant access to all 22 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Books

Read Book Writing Readable PHP

#Title
1Book 1
2Book 2
3Book 3
4Book 4
5Book 5
6Book 6
7Book 7
8Book 8
9Book 9
10Book 10
11Book 11
12Book 12
13Book 13
14Book 14
15Book 15
16Book 16
17Book 17
18Book 18
19Book 19
20Book 20
21Book 21
22Book 22
23Book 23
24Book 24
25Book 25
26Book 26
27Book 27
28Book 28
29Book 29
30Book 30
31Book 31
32Book 32
33Book 33
34Book 34
35Book 35
36Book 36
37Book 37
38Book 38
39Book 39
40Book 40
41Book 41
42Book 42
43Book 43
44Book 44
45Book 45
46Book 46
47Book 47
48Book 48
49Book 49
50Book 50
51Book 51
52Book 52
53Book 53
54Book 54
55Book 55
56Book 56
57Book 57
58Book 58
59Book 59
60Book 60
61Book 61
62Book 62
63Book 63
64Book 64
65Book 65

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

PHP with Laravel - Create a Restaurant Management System

PHP with Laravel - Create a Restaurant Management System

Sources: udemy
Welcome to the PHP with Laravel - Create a Restaurant Management System. The course covers the concepts of using PHP and Laravel Framework to build an innovativ
9 hours 39 minutes 12 seconds
Make a Google search engine clone: JavaScript PHP and MySQL

Make a Google search engine clone: JavaScript PHP and MySQL

Sources: udemy
Do 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!
5 hours 47 minutes 11 seconds
Write PHP Like a Pro: Build a PHP MVC Framework From Scratch

Write PHP Like a Pro: Build a PHP MVC Framework From Scratch

Sources: udemy
Learn 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-c
2 hours 51 minutes 57 seconds
Docker for PHP Developers

Docker for PHP Developers

Sources: udemy
"Docker for PHP Developers" is a book and video course that will teach you how to use Docker and PHP to create clean, repeatable development environments that are easy to unders...
7 hours 35 minutes 34 seconds
Practical Object Oriented Programming

Practical Object Oriented Programming

Sources: Codecourse
Learn OOP with a practical twist, and finish up by building a todo application to cover what we've learned.
3 hours 28 minutes 58 seconds