Udemy

PHP From Scratch | Beginner To Advanced

Enroll Now
  • 10,086 Students
  • Updated 1/2025
4.8
(1,765 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
18 Hour(s) 18 Minute(s)
Language
English
Taught by
Brad Traversy
Rating
4.8
(1,765 Ratings)
3 views

Course Overview

PHP From Scratch | Beginner To Advanced

Learn PHP fundamentals then build a job listing website from the ground up, using a Laravel-like infrastructure

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 Content

  • 10 section(s)
  • 135 lecture(s)
  • Section 1 Introduction
  • Section 2 Data Types, Variables & Built-in Functions
  • Section 3 Arrays & Iteration
  • Section 4 Control Structures & Conditionals
  • Section 5 Functions
  • Section 6 Object Oriented Programming (OOP)
  • Section 7 Superglobals
  • Section 8 Database Integration & PDO
  • Section 9 Workopia Project Start & Custom Routing
  • Section 10 Database Class, Fetch & Display Listings

What You’ll 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

Reviews

  • J
    Julio Lagos Carrera
    4.5

    The first part of the course about the foundations of PHP is good and he make everything pretty clear. About the second part, I feel like the organization is a bit chaotic, even though, everything is clearly explained and this MVC "mini-framework" seems like a good starting point to learn Laravel now. Thanks for the course!

  • T
    TUNDE Ogunjimi
    5.0

    I really learnt a lot from this course, and I consider it easy to follow. I especially like the idea of building a real project to see how all the different parts fit together. Although, I plan to work more with Laravel, I always like to learn concepts from first principles.

  • B
    Blake McKenna
    3.5

    The content is pretty good and taught well, however, the videos, starting in the Functions section would just stop playing randomly. I would have to refresh my page and it sometimes worked and sometimes it didn't and would just come back on it's own. I know it wasn't me, because I wasn't even touching the keyboard when it would happen. It was just frustrating and caused delays. But again, the content was pretty good.

  • M
    Mladen Celojevic
    3.0

    Not terrible, but certainly not beginner friendly. The rating would probably be worse if there is no chatgpt or if I never touched any programming language...

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed