courses / php

learn php

Three levels, from never written code to writing it like a professional. Powering a huge slice of the web.

write php like a professional.

For people who build things on their own and want code that others trust and can change.

1 unit 1 Objects and classes Bundle data together with the code that uses it. 0 of 4 · 49 min
  1. Classes and objects12 min
  2. Constructors12 min
  3. Visibility12 min
  4. Static members and constants13 min
2 unit 2 Family trees Share behaviour between classes without copying code. 0 of 4 · 48 min
  1. Inheritance12 min
  2. Abstract classes12 min
  3. Interfaces13 min
  4. Traits11 min
3 unit 3 Values you can trust Make wrong values impossible to build. 0 of 4 · 47 min
  1. Readonly11 min
  2. Enums12 min
  3. Backed enums12 min
  4. Match12 min
4 unit 4 Errors you design Fail loudly, clearly and on purpose. 0 of 4 · 50 min
  1. Your own exception12 min
  2. A family of exceptions12 min
  3. Exceptions that carry details13 min
  4. Guard clauses and value objects13 min
5 unit 5 Security Keep attackers out of your app and your data. 0 of 4 · 50 min
  1. SQL injection up close13 min
  2. Escaping in the right place12 min
  3. Passwords12 min
  4. CSRF tokens13 min
6 unit 6 Structure like a framework Organise code the way real PHP frameworks do. 0 of 4 · 52 min
  1. Dependency injection13 min
  2. Closures and callables12 min
  3. A tiny router13 min
  4. The MVC idea14 min
7 unit 7 Generators and tests Handle big data lightly and prove your code works. 0 of 4 · 52 min
  1. Generators12 min
  2. Pipelines13 min
  3. Your own assertions13 min
  4. Testing the edges14 min
end of level 3 level check Build one small project with everything from this level. Pass it and your face levels up. see the check