PHP Beginner to Advanced
This path orders published PHP Hub lessons. Modules marked coming soon are not written yet and are not tutorials.
- Page
1. Start here
How the briefs, lessons, and articles already on the site fit together.

2. Password Hashing in PHP: password_hash, password_verify and Safe Rehashing
Store PHP passwords safely with password_hash() and password_verify(), upgrade old hashes on login with password_needs_rehash(), and migrate legacy MD5 hashes.
- Page
3. Binary Search in PHP Lesson: Classic, Boundary and Answer-Space Patterns
Binary search cuts the search space in half on every step, so it finds an answer in O(log n) time. It isn't only for finding a value in a sorted array. Here are the three forms that show up in…
- Page
4. Binary Search in PHP: 3 Templates You’ll Actually Use
Learn binary search in PHP with 3 ready templates: classic search, first/last position, and binary search on the answer, plus common PHP pitfalls.
- Page
5. Stacks in PHP: Brackets, RPN, and the Monotonic Stack
A stack is last in, first out (LIFO). In PHP you don't need a class for one, because a plain array already works as a stack. This lesson covers the basic stack template and the monotonic stack,…
Coming soon
6. PHP syntax, types, and functions
Not published. This row is a placeholder, not a tutorial.
Coming soon
7. OOP, Composer, and project structure
Not published. This row is a placeholder, not a tutorial.
Coming soon
8. Databases and PDO
Not published. This row is a placeholder, not a tutorial.