← All courses
COURSE OVERVIEW · BEGINNER TO INTERMEDIATE

PHP: Foundations & Projects

Learn server-side PHP, validated forms, reusable functions, objects, PDO storage and a tested local learning-record manager.

10 foundation lessons6 modules + 3 projects35–55 hours estimatedCompletion certificate

Start from the beginning

Day 1: PHP execution and local setup

Self-paced. “Days” are lesson stages, not deadlines. The study-time estimate includes exercises and projects; your pace may vary.

Who this course is for

Basic file skills. HTML familiarity is useful before the web-form exercises; the HTML & CSS course provides it.

What you need

Use a local supported stable PHP 8.x installation. CLI examples run with php lesson.php; PDO examples require pdo_sqlite. The development server binds to 127.0.0.1 only. PHP is not executed by the portal’s Python/JavaScript browser lab; use your own local tools and fake data. Browser practice marks are feedback, not certificate assessment marks.

What you’ll be able to do

  • Apply php tooling and repository setup to a small, documented project.
  • Test normal behaviour and a failure case, explain the evidence and justify a repair.
  • Apply contract tests and regression coverage to a small, documented project.
  • Apply services, interfaces and separation of concerns to a small, documented project.
  • Apply validated collections and stable identities to a small, documented project.
  • Apply transactions and safe storage boundaries to a small, documented project.

How you earn the certificate

  1. Verify your email, complete your student profile and enrol in this course.
  2. Study ten foundation lessons, with three worked examples per concept.
  3. Pass each 10-question daily quiz with at least 80%.
  4. Complete all 19 practical tasks: ten daily practicals, six modules, two guided builds and one capstone.
  5. Receive instructor approval for your independent capstone.
  6. Pass the 40-question final assessment with at least 80%.

Your progress and submitted work are saved to your account.

This is a Standalone IT Training certificate of course completion, not an accredited professional qualification. Retakes are available. Previously issued certificates remain valid and accessible.

Your learning path

01 · Foundations — read, practise and test
  1. Day 1: PHP execution and local setup

    Explain php execution and local setup and trace the three worked examples.

  2. Day 2: Variables, types and deliberate conversion

    Explain variables, types and deliberate conversion and trace the three worked examples.

  3. Day 3: Conditions, loops and boundary decisions

    Explain conditions, loops and boundary decisions and trace the three worked examples.

  4. Day 4: Functions, contracts and exceptions

    Explain functions, contracts and exceptions and trace the three worked examples.

  5. Day 5: Arrays and transformations

    Explain arrays and transformations and trace the three worked examples.

  6. Day 6: HTML forms and contextual output escaping

    Explain html forms and contextual output escaping and trace the three worked examples.

  7. Day 7: Files, JSON and explicit failure paths

    Explain files, json and explicit failure paths and trace the three worked examples.

  8. Day 8: Objects and responsibility boundaries

    Explain objects and responsibility boundaries and trace the three worked examples.

  9. Day 9: PDO and parameterised database access

    Explain pdo and parameterised database access and trace the three worked examples.

  10. Day 10: Testing, sessions and safe delivery

    Explain testing, sessions and safe delivery and trace the three worked examples.

02 · Intermediate skills — six practical modules
  1. PHP tooling and repository setup

    Apply php tooling and repository setup to a small, documented project. Test normal behaviour and a failure case, explain the evidence and justify a repair.

    90–150 minutes plus practice
  2. Contract tests and regression coverage

    Apply contract tests and regression coverage to a small, documented project. Test normal behaviour and a failure case, explain the evidence and justify a repair.

    90–150 minutes plus practice
  3. Services, interfaces and separation of concerns

    Apply services, interfaces and separation of concerns to a small, documented project. Test normal behaviour and a failure case, explain the evidence and justify a repair.

    90–150 minutes plus practice
  4. Validated collections and stable identities

    Apply validated collections and stable identities to a small, documented project. Test normal behaviour and a failure case, explain the evidence and justify a repair.

    90–150 minutes plus practice
  5. Transactions and safe storage boundaries

    Apply transactions and safe storage boundaries to a small, documented project. Test normal behaviour and a failure case, explain the evidence and justify a repair.

    90–150 minutes plus practice
  6. Secure web input and escaped presentation

    Apply secure web input and escaped presentation to a small, documented project. Test normal behaviour and a failure case, explain the evidence and justify a repair.

    90–150 minutes plus practice
03 · Projects — guided builds to independent work
  1. Guided build 1: Tested score report

    Implement a CLI score reporter with strict input contracts, inclusive pass rules and a non-mutating summary.

  2. Guided build 2: Local score repository

    Persist validated fake score records in a disposable SQLite database with PDO.

  3. Independent capstone: Local learning-record manager

    Build a PHP learning-record manager using fake data. It must validate named records, store and retrieve them with PDO, search or filter records, and produce a summary. Choose CLI or a local web interface. A web submission must escape displayed input and document CSRF and access-control boundaries. Include your own extension, eight tests and labelled source files.

04 · Final assessment and certificate

40 questions covering foundations and intermediate modules. At least 32 correct answers are required. After all practical requirements are met, confirm your name and issue your certificate. Anyone can verify its ID without registering.