HOME > Development > PHP From Scratch 2024 - Beginner To Advanced

PHP From Scratch 2024 - Beginner To Advanced

  • Development
  • Apr 26, 2025
SynopsisPHP From Scratch 2024 | Beginner To Advanced, available at $1...
PHP From Scratch 2024 - Beginner To Advanced  No.1

PHP From Scratch 2024 | Beginner To Advanced, available at $19.99, has an average rating of 4.62, with 135 lectures, based on 985 reviews, and has 6038 subscribers.

You will learn about Learn the fundamentals of PHP programming Learning modules for data types, functions, loops, OOP, databases and more Build a job listing website from the ground up without using any frameworks or libraries Create a custom Laravel-like router that takes params & middleware Learn to utilize namespaces and PSR-4 Autoloading Build an authentication system using sessions Great precursor if you plan on learning Laravel This course is ideal for individuals who are Beginners as well as experienced developers that want to learn how to structure a PHP project with no frameworks It is particularly useful for Beginners as well as experienced developers that want to learn how to structure a PHP project with no frameworks.

Enroll now: PHP From Scratch 2024 | Beginner To Advanced

Summary

Title: PHP From Scratch 2024 | Beginner To Advanced

Price: $19.99

Average Rating: 4.62

Number of Lectures: 135

Number of Published Lectures: 135

Number of Curriculum Items: 135

Number of Published Curriculum Objects: 135

Original Price: $39.99

Quality Status: approved

Status: Live

What You Will Learn

  • Learn the fundamentals of PHP programming
  • Learning modules for data types, functions, loops, OOP, databases and more
  • Build a job listing website from the ground up without using any frameworks or libraries
  • Create a custom Laravel-like router that takes params & middleware
  • Learn to utilize namespaces and PSR-4 Autoloading
  • Build an authentication system using sessions
  • Great precursor if you plan on learning Laravel
  • Who Should Attend

  • Beginners as well as experienced developers that want to learn how to structure a PHP project with no frameworks
  • Target Audiences

  • Beginners as well as experienced developers that want to learn how to structure a PHP project with no frameworks
  • This course is broken up into two parts. First, we have seven learning modules to learn the fundamentals of PHP programming, including:

  • Data Types & Variables

  • Arrays & Iteration

  • Control Structures & Conditionals

  • Functions & Scope

  • Object Oriented Programming

  • Superglobals ($_GET, $_POST, $_SESSION, $_COOKIES, etc)

  • Database Integration & PDO

  • After that, we go for a hands-on approach and build a job listing website. We build this from the ground up without any framework or libraries. These sections will teach you how to structure a vanilla PHP project and is a great precursor to learning Laravel or another framework.

    Here is what we will do in the project videos:

  • We will create a custom Laravel-like router. We will refactor this a bunch of times to keep adding features like accepting HTTP methods, params and middleware.

  • We will structure our project into two main folders, which will be called Framework and App. Framework will be the core that includes classes like Router, Database, Validation, and Session. App will include our controllers and views.

  • We will create CRUD operations for job listings.

  • We will implement an authentication and authorization system as well as protect routes using custom middleware.

  • We will add a search feature to search/filter listings by keywords and/or location

  • We will learn to validate and sanitize data as well as use prepared statements with PDO to protect against SQL injection attacks.

  • If you are a beginner, I suggest taking the course from the beginning and go through all of the learning modules. If you are more experienced and know the fundamentals, you can jump right into the project.

    Course Curriculum

    Chapter 1: Introduction

    Lecture 1: Welcome To The Course

    Lecture 2: What Is PHP?

    Lecture 3: Setup PHP – MacOS

    Lecture 4: Setup PHP – Windows

    Lecture 5: Text Editor Setup

    Lecture 6: PHP Sandbox Setup

    Chapter 2: Data Types, Variables & Built-in Functions

    Lecture 1: PHP Tags, Printing & Comments

    Lecture 2: Variables

    Lecture 3: Data Types

    Lecture 4: String Concatenation

    Lecture 5: Type Casting & Juggling

    Lecture 6: Variables Challenge

    Lecture 7: Arithmetic Operators & Functions

    Lecture 8: String Functions

    Lecture 9: Dates & Times

    Chapter 3: Arrays & Iteration

    Lecture 1: Intro To Arrays

    Lecture 2: Array Functions

    Lecture 3: Associative Arrays

    Lecture 4: Multi-Dimensional Arrays

    Lecture 5: Array Challenges

    Lecture 6: Basic Loops

    Lecture 7: Nested Loops

    Lecture 8: Looping Through Arrays

    Lecture 9: Multi-Dimensional Array Iteration

    Lecture 10: Array & Loop Challenges

    Chapter 4: Control Structures & Conditionals

    Lecture 1: If Statements

    Lecture 2: Conditional HTML Output

    Lecture 3: Comparison & Logical Operators

    Lecture 4: Conditionals In Loops – break & continue

    Lecture 5: Activity: Dynamic Job Listings

    Lecture 6: FizzBuzz Challenge

    Lecture 7: Switch Statements

    Lecture 8: Ternary Operator

    Lecture 9: Null Coalescing Operator

    Lecture 10: Names Challenge

    Chapter 5: Functions

    Lecture 1: Functions & Return Values

    Lecture 2: Parameters & Arguments

    Lecture 3: Global & Local Scope

    Lecture 4: Constants

    Lecture 5: Optional Type Declarations

    Lecture 6: Activity: Job Listings Helper Functions

    Lecture 7: Average Salary Challenge

    Lecture 8: Anonymous Functions & Closures

    Lecture 9: Callback Functions

    Lecture 10: Arrow Functions

    Lecture 11: Format Salary Refactor Challenge

    Lecture 12: More Function Challenges

    Chapter 6: Object Oriented Programming (OOP)

    Lecture 1: OOP Overview

    Lecture 2: Creating a Class

    Lecture 3: Access Modifiers, Getters & Setters

    Lecture 4: Inheritence

    Lecture 5: Static Members & Methods

    Lecture 6: OOP Challenges

    Lecture 7: Abstract Classes

    Lecture 8: Interfaces

    Chapter 7: Superglobals

    Lecture 1: Overview Of Superglobals

    Lecture 2: $_SERVER – Get Server Information

    Lecture 3: Environment Variables & $GLOBALS

    Lecture 4: $_GET – Data From Query Params

    Lecture 5: $_POST – Data From Forms

    Lecture 6: $_REQUEST – Superglobal

    Lecture 7: $_FILES – Uploading Files

    Lecture 8: Message Alert Challenge

    Lecture 9: $_SESSION – Creating a Session

    Lecture 10: $_COOKIE – Working With Cookies

    Chapter 8: Database Integration & PDO

    Lecture 1: An Intro To Databases

    Lecture 2: MySQL Setup – MacOS

    Lecture 3: MySQL Setup – Windows

    Lecture 4: MySQL Shell & Making Queries

    Lecture 5: MySQL Workbench & Database Setup

    Lecture 6: Database Users & Privileges

    Lecture 7: Connect With PDO

    Lecture 8: Fetch Multiple Records

    Lecture 9: Fetch Single Record

    Lecture 10: Create Form & Insert Record

    Lecture 11: Delete Records

    Lecture 12: Edit Form & Update Records

    Chapter 9: Workopia Project Start & Custom Routing

    Lecture 1: Project Intro

    Lecture 2: Project Repo Link

    Lecture 3: UI Theme Files

    Lecture 4: Folder Setup

    Lecture 5: Home View & Set Document Root

    Lecture 6: Git Setup & Commit

    Lecture 7: Split UI Into Partials

    Lecture 8: Inspect Helper Functions

    Lecture 9: Create a VERY Basic Router

    Lecture 10: Create Views

    Lecture 11: Separate Router Files

    Lecture 12: Router Refactor To Class

    Chapter 10: Database Class, Fetch & Display Listings

    Lecture 1: Section Intro

    Instructors

  • PHP From Scratch 2024 - Beginner To Advanced  No.2
    Brad Traversy
    Full Stack Web Developer & Instructor at Traversy Media
  • Rating Distribution

  • 1 stars: 12 votes
  • 2 stars: 8 votes
  • 3 stars: 40 votes
  • 4 stars: 244 votes
  • 5 stars: 681 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!