Programming · Beginner to advanced · 91 hours
Free PHP teaching slides, beginner to advanced
Take students from their first <?php echo to forms, sessions, file uploads, object-oriented PHP 8.3, MySQL with PDO, secure logins, REST APIs and a deployed capstone project, with every example's real output shown inside the slides.
What you get
- 391 projector-ready slides in 5 parts — nothing to install, no account
- 20 modules, each with a real-website example, animated explainers, a quiz and a recap
- 200 practical examples (easy, medium and hard) and 10 capstone projects
- Every example was run on PHP 8.3 and MariaDB: the slides replay the real terminal, browser, request, database and file output
- An interactive syllabus with search, an easy/medium/hard filter and a progress tracker
How to teach it
About 91 hours across 20 modules: 16 to 20 hours per part, with 5 hours for the capstone projects, deployment and career module.
Slide decks in this course
- Part 1: PHP Foundations 84 slides
- Part 2: Working with Data 77 slides
- Part 3: PHP for the Web 74 slides
- Part 4: OOP, Errors and Databases 81 slides
- Part 5: Professional PHP and Projects 75 slides
Syllabus
| Module | Covers |
|---|---|
| Part 1 · PHP Foundations | Meet PHP and setup, variables, data types and operators, decisions and loops, functions |
| Part 2 · Working with Data | Arrays, strings and regular expressions, dates, maths and JSON, files and directories |
| Part 3 · PHP for the Web | Pages, templates and query strings, forms and validation, sessions and cookies, uploads, headers and HTTP |
| Part 4 · OOP, Errors and Databases | Object-oriented PHP, advanced OOP and modern PHP 8.3, errors, exceptions and debugging, MySQL and PDO |
| Part 5 · Professional PHP and Projects | Building a CRUD web app, authentication and security, Composer, REST APIs and testing, capstone projects, deployment and career |
What your students will be able to do
- Install XAMPP and PHP 8.3, and run PHP in the terminal and the browser
- Write PHP with variables, types, operators, decisions, loops and functions
- Work with arrays, strings, regular expressions, dates, JSON and files
- Build multi-page websites with templates, query strings, forms and validation
- Use sessions, cookies, file uploads, headers and HTTP status codes
- Write object-oriented PHP with interfaces, traits, enums and PHP 8.3 features
- Handle errors with exceptions, logging and debugging
- Read and write MySQL safely with PDO, prepared statements and transactions
- Build a CRUD app, secure logins and a REST API, then deploy a capstone project
Questions teachers ask
Do students need to know programming first?
No. Part 1 starts from how a website works and the first <?php echo. Basic HTML helps from Part 3, where PHP builds web pages and forms.
Do students need to install anything?
Not to follow the slides: they run in any browser and show each example's real output. To run the examples themselves, students install XAMPP (PHP 8.3 and MySQL) and VS Code.
How is the course split?
Five decks: PHP Foundations; Working with Data; PHP for the Web; OOP, Errors and Databases; and Professional PHP and Projects — 20 modules with 10 practical examples each.