All Courses
beginner PHP

PHP: Modern PHP from the Ground Up

Master PHP from scratch — modern php from the ground up.

54 lessons 54 available ~200 min total
Start the course

What you'll learn

By the end you can confidently apply PHP at a beginner level: modern php from the ground up, with real, working code.

Who it's for

Developers learning PHP at a beginner level.

Prerequisites

Basic programming concepts.

A structured, hands-on beginner course on PHP, taking you from scratch by building a small MVC web app without a framework.

Curriculum

  1. 1

    Setting Up the Local Development Environment

    4 min
  2. 2

    PHP Syntax and Browser Output

    4 min
  3. 3

    Variables and Data Types

    4 min
  4. 4

    Strong Typing and Scalar Type Hinting

    4 min
  5. 5

    Conditional Logic with If-Else

    4 min
  6. 6

    Advanced Control Structures

    4 min
  7. 7

    Introduction to Arrays

    4 min
  8. 8

    Multidimensional Arrays

    4 min
  9. 9

    Iterating with For and While Loops

    3 min
  10. 10

    Mastering Foreach Loops

    4 min
  11. 11

    Defining Custom Functions

    4 min
  12. 12

    Project Structure Strategy

    3 min
  13. 13

    Processing GET Requests

    3 min
  14. 14

    Handling POST Requests

    4 min
  15. 15

    Sanitization and Validation

    4 min
  16. 16

    Managing State with Superglobals

    4 min
  17. 17

    Redirects and Header Control

    4 min
  18. 18

    Integrating Routing Logic

    3 min
  19. 19

    Connecting to MySQL with PDO

    3 min
  20. 20

    Executing Prepared Statements

    4 min
  21. 21

    Creating Data with CRUD

    4 min
  22. 22

    Updating and Deleting Data

    4 min
  23. 23

    Connecting Models to the Database

    4 min
  24. 24

    Classes and Objects

    3 min
  25. 25

    Constructors and Properties

    4 min
  26. 26

    Visibility Modifiers

    4 min
  27. 27

    Refactoring to Classes

    4 min
  28. 28

    Building the Controller Layer

    3 min
  29. 29

    Implementing the View Layer

    4 min
  30. 30

    Front Controller Pattern

    4 min
  31. 31

    Namespaces in PHP

    4 min
  32. 32

    Autoloading with Composer

    4 min
  33. 33

    Refined Template Separation

    4 min
  34. 34

    Finalizing MVC Integration

    4 min
  35. 35

    Debugging PHP Applications

    4 min
  36. 36

    Advanced Form Handling

    3 min
  37. 37

    Managing Database Migrations

    4 min
  38. 38

    Protecting Against CSRF

    3 min
  39. 39

    Implementing Dependency Injection

    3 min
  40. 40

    Using Traits for Code Reuse

    4 min
  41. 41

    Working with JSON APIs

    3 min
  42. 42

    Handling File Uploads

    3 min
  43. 43

    Performance Optimization Basics

    4 min
  44. 44

    Database Transactions

    4 min
  45. 45

    Advanced Routing Constraints

    4 min
  46. 46

    Building a Simple Authentication System

    3 min
  47. 47

    Working with Dates and Time

    3 min
  48. 48

    Error Handling with Exceptions

    4 min
  49. 49

    Using Third-Party Libraries

    4 min
  50. 50

    Environment Configuration

    3 min
  51. 51

    Sanitizing Output for XSS Prevention

    4 min
  52. 52

    Creating a CLI Utility

    4 min
  53. 53

    Unit Testing with PHPUnit

    4 min
  54. 54

    Service Container Basics

    3 min