Course

Learn PHP

The language serving most of the web, mastered modern: typed functions, real OOP, PDO, security and testing: until you write PHP that is fast, safe and a pleasure to inherit.

This is the whole PHP course in the LoWisa phone app, level by level: 15 levels, 44 lessons and 132 ideas, each taught and then checked. The first level, Start Here: PHP on the Web, is free.

Updated 2026-11-25

What you can do as you go

Where you areWhat you can do
Start Here: Level 4You write modern typed PHP: the request model, arrays, functions and strict types are second nature.
Levels 5–8You build real object models with namespaces and Composer, handle the web safely, and speak PDO fluently.
Levels 9–11You debug, log, secure and modernise: enums, attributes, match and the idiom of current PHP.
Levels 12–14You test, cache, profile and run production PHP: and can walk into any legacy codebase with a plan.
Project ladderFive desktop app projects from an honest guestbook to a published Composer package: the PHP the modern web is actually built on.

The PHP course, level by level

LevelLessons in it
Start Here: PHP on the WebPHP Runtime and Request Lifecycle; Server-Side Web Programming
Level 1: PHP FoundationsVariables and Types; Conditions and Loops; Functions
Level 2: Arrays & DataIndexed and Associative Arrays; Array Operations; Structured Application Data
Level 3: Functions & TypesParameters and Return Types; Closures; Modern Type Declarations
Level 4: Object-Oriented PHPClasses and Objects; Interfaces and Traits; Composition and Inheritance
Level 5: Namespaces & PackagesNamespaces; Autoloading; Composer and Dependency Management
Level 6: Web RequestsHTTP Requests and Responses; Forms and Validation; Cookies and Sessions
Level 7: Database ProgrammingPDO; Transactions; Safe Query Patterns
Level 8: Errors & DebuggingExceptions and Error Handling; Debugging; Logging
Level 9: SecurityInput and Output Security; Authentication and Session Risks; Secure PHP Patterns
Level 10: Modern PHPAttributes and Enums; Modern OOP Features; Writing Idiomatic Current PHP
Level 11: TestingUnit and Integration Testing; Test Doubles; Testable PHP Design
Level 12: PerformanceRuntime and Memory; Caching; Profiling PHP Applications
Level 13: Production PHPConfiguration and Environments; CLI and Background Work; Reliable Production Patterns
Level 14: PHP MasteryLanguage Internals; Architecture and Maintainability; Reading and Improving Large PHP Systems

Every level ends with a checkpoint and flashcards on what it taught.

Start Here: PHP on the Web: what the free first level teaches

PHP Runtime and Request Lifecycle

  • Request in, response out. PHP’s natural unit is the request: the server runs your script per request and sends back the response.
  • Share-nothing model. Each request starts fresh: no memory shared with the last one, which is why PHP scales so forgivingly.
  • The interpreter. The PHP interpreter compiles scripts to opcodes per run, and the opcode cache keeps hot scripts compiled.

Server-Side Web Programming

  • Server side. PHP runs on the server: the browser only ever sees the HTML your code emitted.
  • Embedding and escaping. PHP embeds in templates between its tags: and every dynamic value is escaped on the way out.
  • Where PHP lives. PHP powers most of the web’s CMS platforms, shops and services: inherited PHP is a career-long certainty.

Projects you build

The course has 5 projects, built in the LoWisa desktop app, each in the role of someone who does this work.

RoleProjectThe situation
PHP DeveloperGuestbook With Honest FoundationsA photography studio wants a guestbook: visitors post entries, the owner moderates. Tiny scope, professional bones: strict types, escaping, CSRF and sessions done right from line one.
Backend DeveloperInvoice API With Typed DomainA bookkeeping tool needs an invoice service: create, list, mark paid, totals: a JSON API whose domain is typed objects and enums, not nested arrays.
PHP EngineerRescue a Legacy Shop CodebaseYou inherit a 2012-era shop: SQL concatenation, echo-everything templates, register-login with md5, and a checkout that double-charges on refresh. Secure and stabilise it without a rewrite.
Senior PHP EngineerTicketing Platform With Queue WorkersA support-desk product needs its core: tickets in via web and API, notifications out via background workers, attachments handled safely: production-shaped PHP with measured performance.
PHP SpecialistPublish a Validation ComponentYour projects re-implement validation forever. Build the definitive piece: a typed, framework-free validation library: fluent rules, structured errors: published as a Composer package.

How you learn it

  • One idea at a time. Each lesson teaches a few ideas and asks you about each before it moves on.
  • A checkpoint and flashcards at the end of every level. See Checkpoints and flashcards.
  • Games on what you have learned. See Revision games.
  • On your phone. The app is on Google Play and the App Store. See Getting started.

Frequently asked questions

How many levels does the LoWisa PHP course have?

15 levels with 44 lessons, from Start Here: PHP on the Web to Level 14: PHP Mastery.

Is the PHP course free?

The first level, Start Here: PHP on the Web, is free, with its checkpoint and flashcards. A plan opens the rest; see Plans and credits in the Help centre.

Where does the PHP course start?

With Start Here: PHP on the Web. Its first lesson is "PHP Runtime and Request Lifecycle".

Start PHP with the free first level

LoWisa is on Google Play and the App Store.