When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

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

This Course Includes
udemy
4.6 (1.4K reviews )
18.5 total hours
english
Online - Self Paced
course
Udemy
About PHP From Scratch 2024 | Beginner To Advanced
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.
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.