PHP From Scratch 2024 | Beginner To Advanced
Learn PHP fundamentals then build a job listing website from the ground up, using a Laravel-like infrastructure
Created by Brad Traversy | 18.5 hours on-demand video course
This PHP From Scratch 2024 | Beginner To Advanced 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 PHP From Scratch 2024 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.
Recommended Course by Brad Traversy
Modern JavaScript From The Beginning 2.0 (2024)
70+ JavaScript Challenges: Data Structures & Algorithms
Bootstrap 5 From Scratch | Build 5 Modern Websites Best seller
MERN From Scratch 2023 | eCommerce Platform
Tailwind CSS From Scratch | Learn By Building Projects Best seller
React Front To Back
Next.js Dev to Deployment
20 Web Projects With Vanilla JavaScript
50 Projects In 50 Days – HTML, CSS & JavaScript
MERN Stack Front To Back: Full Stack React, Redux & Node.js
What you’ll learn in PHP From Scratch 2024 Course
- 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