PHP Course

Ship real products with PHP, Laravel & WordPress

A hands-on path through the language that still runs most of the web's backend and CMS work — modern PHP 8 and MySQL fundamentals, then Laravel for building application backends and APIs, then WordPress theme and plugin development through WooCommerce. It ends with a two-week capstone that wires a Laravel API into a WordPress-integrated front end and ships it.

32 Weeks Beginner → Job-Ready Self-Paced PHP 8.3, Laravel 11 & WordPress
32
Weeks of study
28
Core modules
2
Capstone weeks
0→1
No prior PHP needed
Before You Start

Prerequisites & tooling

What you should already know

  • Basic programming in any language — variables, functions, loops
  • Comfortable with the command line and Git
  • No prior PHP, Laravel or WordPress experience required
  • PHP 8.3, Composer, MySQL/MariaDB and a code editor like VS Code installed

Stack you'll work with

The same tools behind a huge share of production PHP, e-commerce and CMS sites.

PHP 8.3 MySQL Composer Laravel 11 Eloquent ORM Blade WordPress WooCommerce Pest / PHPUnit Docker Nginx Redis
Syllabus

Your 32-week learning path

Twenty-eight modules, from your first PHP script through Laravel, WordPress and WooCommerce, to a two-week capstone that connects them and ships.

01
WEEK 1

PHP Fundamentals & Local Dev Environment

Get PHP 8.3 running locally and write your first dynamic pages.

  • Variables, control flow, functions & PHP 8 syntax
  • Local dev server, php.ini basics & Xdebug setup
  • Embedding PHP in HTML & the request lifecycle
Start this lesson
02
WEEK 2

Arrays, Strings, Forms & Superglobals

Handle real user input safely with PHP's array and string toolkit.

  • Indexed, associative & multidimensional arrays
  • String functions, formatting & sanitization
  • $_GET, $_POST, $_SERVER & a real form handler
Start Week 2
03
WEEK 3

Object-Oriented PHP

Move from scripts to structured, reusable object-oriented code.

  • Classes, properties, constructors & visibility
  • Inheritance, interfaces & traits
  • Namespaces & the PSR-4 autoloading convention
Start Week 3
04
WEEK 4

Composer, Autoloading & Error Handling

Adopt the dependency and error-handling tooling every modern PHP project uses.

  • Composer, composer.json & the vendor autoloader
  • Installing & using third-party packages from Packagist
  • Exceptions, try/catch/finally & custom exceptions
Start Week 4
05
WEEK 5

Sessions, Cookies & File I/O

Persist state across requests and work with the filesystem safely.

  • Sessions, cookies & flash messages
  • Reading, writing & uploading files securely
  • Building a simple login-gated page with sessions
Start Week 5
06
WEEK 6

MySQL Fundamentals & Schema Design

Design a relational schema before you touch a line of PHP data code.

  • Tables, keys, data types & normalization
  • SELECT/INSERT/UPDATE/DELETE & joins
  • Designing a schema for a real multi-table app
Start Week 6
07
WEEK 7

PDO, Prepared Statements & CRUD

Talk to MySQL from PHP the safe, modern way.

  • PDO connections, prepared statements & bound parameters
  • Building a CRUD data-access layer
  • Transactions & handling database errors
Start Week 7
08
WEEK 8

Module Project: PHP + MySQL CRUD App & Security

Ship a secured, end-to-end CRUD application and lock in web security fundamentals.

  • SQL injection, XSS & CSRF — causes and prevention
  • Password hashing with password_hash()/password_verify()
  • A complete PHP + MySQL project: auth, CRUD & validation
Start Week 8
09
WEEK 9

Laravel Setup, Routing & Blade

Meet the framework that runs a huge share of production PHP.

  • Installing Laravel, artisan & the project structure
  • Routes, route parameters & route model binding
  • Blade templates, layouts & components
Start Week 9
10
WEEK 10

Controllers, Requests & Validation

Structure real request handling the Laravel way.

  • Resource controllers & RESTful conventions
  • The Request object, input & file uploads
  • Validation rules, Form Requests & custom rules
Start Week 10
11
WEEKS 11–12

Eloquent ORM: Models to Advanced Queries

Model your domain and query it fluently with Laravel's ORM.

  • Models, migrations & Eloquent relationships
  • The query builder, scopes & accessors/mutators
  • Eager loading, N+1 queries & factories/seeders
Start Week 11 Start Week 12
12
WEEK 13

Authentication & Authorization

Lock down a Laravel app with modern auth patterns.

  • Laravel Breeze/Fortify & session-based auth
  • Sanctum tokens for APIs & SPAs
  • Gates, Policies & role-based authorization
Start Week 13
13
WEEK 14

Middleware, Form Requests & File Uploads

Control the request pipeline and handle real-world uploads.

  • Writing & registering custom middleware
  • Form Request classes for validation & authorization
  • Storing & serving uploads with the Storage facade
Start Week 14
14
WEEK 15

Building REST APIs & Testing with Pest

Expose your app as an API and prove it works with a real test suite.

  • API Resources, resource collections & versioning
  • Sanctum token auth for a JSON API
  • Feature & unit tests with Pest
Start Week 15
15
WEEK 16

Queues, Events & Laravel Capstone

Move slow work off the request cycle, then ship a full Laravel project.

  • Queued jobs, workers & failed-job handling
  • Events, listeners & notifications
  • Module capstone: a deployed, multi-feature Laravel app
Start Week 16
16
WEEK 17

WordPress Fundamentals & wp-cli

Set up a proper local WordPress development workflow.

  • Core concepts: posts, pages, themes & plugins
  • Local WordPress with wp-cli & Local
  • The WordPress database schema & wp_ tables
Start Week 17
17
WEEKS 18–19

Theme Development I & II

Build a custom WordPress theme from the template hierarchy up.

  • The template hierarchy & the Loop
  • Custom Post Types & taxonomies
  • Advanced Custom Fields (ACF) & template parts
Start Week 18 Start Week 19
18
WEEKS 20–21

Plugin Development I & II

Extend WordPress the right way — hooks, not core edits.

  • Actions, filters & shortcodes
  • Custom database tables & $wpdb
  • Admin pages & the Settings API
Start Week 20 Start Week 21
19
WEEK 22

WordPress REST API & Headless WordPress

Use WordPress as a content API for a decoupled frontend.

  • The built-in REST API & custom endpoints
  • Authentication for the REST API
  • Headless WordPress with a JS frontend
Start Week 22
20
WEEK 23

WooCommerce Customization

Extend the platform behind a huge share of e-commerce sites.

  • WooCommerce data model: products, orders & customers
  • Hooking into the checkout & cart lifecycle
  • Building a custom WooCommerce extension
Start Week 23
21
WEEK 24

WordPress Security & Performance

Harden and speed up a WordPress site the way agencies actually do.

  • Hardening: nonces, capability checks & sanitization
  • Caching layers & object caching with Redis
  • Query optimization & asset performance
Start Week 24
22
WEEK 25

Cross-Stack PHP Security Deep Dive

Revisit security with the depth a production team expects.

  • CSRF, XSS & SQL injection across raw PHP, Laravel & WordPress
  • Secure session & cookie configuration
  • Dependency vulnerabilities & security auditing tools
Start Week 25
23
WEEK 26

Caching & Performance

Keep a PHP application fast under real load.

  • OPcache & PHP-FPM tuning
  • Redis caching strategies & cache invalidation
  • Database query optimization & indexing
Start Week 26
24
WEEK 27

Testing & CI

Build a safety net that runs before every deploy.

  • PHPUnit fundamentals across plain PHP & Laravel
  • GitHub Actions CI pipelines for PHP
  • Static analysis with PHPStan/Larastan
Start Week 27
25
WEEK 28

Deployment: LAMP/LEMP & Docker

Package and ship PHP applications the way production teams do.

  • LAMP/LEMP stack configuration & Nginx/PHP-FPM
  • Dockerizing a Laravel application
  • Deploying Laravel & WordPress to a VPS
Start Week 28
26
WEEK 29

Laravel + SPA Integration with Inertia.js

Bridge Laravel's backend with a modern JavaScript frontend.

  • Inertia.js: server-driven SPAs without a separate API
  • Laravel + Vue or React with Inertia
  • Shared data, forms & validation across the bridge
Start Week 29
27
WEEKS 30–31 · CAPSTONE

Capstone: Laravel API + WordPress Integration

Apply the whole course in one project — a Laravel API powering a WordPress-integrated front end.

  • Architect & build a Laravel API backend
  • Integrate it with a WordPress site over REST
  • Fully tested, secured & deployed
Start the capstone
28
WEEK 32

Portfolio & Career Prep

Package your work and prepare to talk about it in interviews.

  • Building a portfolio site showcasing your capstone projects
  • Common PHP/Laravel/WordPress interview questions
  • Resume & LinkedIn positioning for PHP roles
Start Week 32

Ready to build with PHP?

Start with Week 1 and work through PHP & MySQL, Laravel and WordPress in one path — or browse the Node.js & Express and DevOps & Cloud courses if you're building out a broader backend skill set.