iwantcoding.com
🔥 Daily 👥 Rooms 🏆 Top Log in Sign up

PHP Bootcamp

A 30-day plan that takes you from "what's a variable?" to "I can ship a small PHP app, talk to MySQL, write tests, deploy to a server."

Week 1 — Foundations

DayLessons
1Intro, install, syntax, comments
2Variables, types, casting
3Strings, numbers, math, operators
4–5If/else, switch, match, while, for, foreach
6Functions, arrow functions, callbacks
7Practice — solve 10 small problems in the editor

Week 2 — Arrays, Strings, OOP

DayLessons
8Indexed + associative arrays
9Array functions, sort, multi-dim arrays
10Regex (preg_*), string formatting
11Classes, constructors, visibility
12Inheritance, abstract, interfaces, traits
13Namespaces, autoloading via Composer
14Enums, readonly, modern PHP idioms

Week 3 — Web & Data

DayLessons
15Superglobals, request handling
16Forms — validation, redirect-after-POST
17Sessions, cookies
18File handling, uploads
19JSON, dates, exceptions
20–21PDO — connect, CRUD, prepared statements, transactions

Week 4 — Build & Ship

DayTopic
22Composer + first real project
23Routing (Slim, FastRoute) or a framework (Laravel quickstart)
24Templating — plain PHP includes vs Twig vs Blade
25Sending email, logging
26Tests with PHPUnit / Pest
27Static analysis with PHPStan or Psalm
28Deploy — shared hosting vs Forge / Ploi / Docker
29–30Capstone — tiny CMS, blog, or REST API
Tip: Pick a capstone that you'd use yourself. Code you'll actually run is code you'll actually remember.

Example

Example
<?php
// 30-day PHP bootcamp:
// Week 1: syntax, types, control flow
// Week 2: functions, arrays, strings, files
// Week 3: OOP — classes, interfaces, traits, namespaces
// Week 4: forms, sessions, MySQL, Composer, Laravel intro
echo 'Pick a capstone — a tiny blog, CMS, or API.';
Try it Yourself »

Exercise

Bootcamp duration.

days

Test yourself

Q1. The bootcamp lasts…
Q2. Week 3 focuses on…
Q3. Best capstone is…

Discussion

Loading…