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 Development Bootcamp: Zero to Mastery

PHP Development Bootcamp: Zero to Mastery

Sources: zerotomastery.io
Join the ultimate PHP Bootcamp to learn modern PHP from scratch. Master PHP web development, create your own applications, and boost your career. Perfect for
23 hours 47 minutes 23 seconds
Self-Made SaaS Course

Self-Made SaaS Course

Sources: Andrew Schmelyun
Move from idea to a finished application with the video course "Building SaaS Yourself"! You will learn to create a fully functional SaaS application from...
5 hours 19 minutes 41 seconds
Ultimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sass

Ultimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sass

Sources: udemy
Have you have been taking courses that are not up to date or courses that after finishing them you will immediately know that is not what they promised to be in
95 hours 30 minutes
Refactoring to Collections

Refactoring to Collections

Sources: adamwathan
Learn how to use collection pipelines to break down ugly, complex functions into a series of simple transformations, free of loops, complex conditionals, and temporary variables...
4 hours 44 minutes 21 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