Udemyallen

PHP From Scratch | Beginner To Advanced

Learn PHP & Laravel-like development! Build a job listing website from scratch. Practical skills for web development beginners.

4.7(1,716)
9,821students
18h 18m
Certificate
Brad Traversy
Brad TraversyFull Stack Web Developer & Instructor at Traversy Media

Course Content

PHP From Scratch | Beginner To Advanced is an all-levels Udemy course taught by Brad Traversy. It runs 18h 18m, is taught in English, and includes a certificate of completion. Learners rate it 4.7 out of 5 from 1,716 reviews, with 9,821 students enrolled. It is a paid course, last updated January 2025.

Dive into PHP programming with this comprehensive course, designed for both beginners and experienced developers! We'll start with a solid foundation in PHP fundamentals through seven detailed learning modules. You'll master essential concepts including:

  • Data Types & Variables: Understand the building blocks of PHP data handling.
  • Arrays & Iteration: Learn to effectively work with arrays and loop through data.
  • Control Structures & Conditionals: Control the flow of your PHP code with if, else, and more.
  • Functions & Scope: Create reusable code blocks and manage variable visibility.
  • Object-Oriented Programming (OOP): Explore object-oriented principles for structured code.
  • Superglobals ($_GET, $_POST, $_SESSION, $_COOKIES, etc.): Learn to access and manipulate server data.
  • Database Integration & PDO: Connect to databases and interact with data using PDO.

After grasping the core concepts, we'll move into a practical, hands-on project: building a job listing website from scratch! This project focuses on vanilla PHP development, meaning we'll avoid frameworks and libraries, giving you a deep understanding of how PHP projects are structured. This is an excellent stepping stone for learning frameworks like Laravel.

Project Highlights:

  • Custom Router Development: We'll build a custom router, similar to Laravel's, and enhance it with features like HTTP method support, route parameters, and middleware.
  • Framework Structure: Learn to organize your project into a well-defined Framework (core classes like Router, Database, Validation, Session) and App (controllers and views) directory structure.
  • CRUD Operations: Implement Create, Read, Update, and Delete (CRUD) operations for managing job listings.
  • Authentication & Authorization: Build a secure system to protect your website with user authentication and role-based access control, utilizing custom middleware.
  • Search Functionality: Add a powerful search feature to allow users to find jobs based on keywords and location.
  • Data Validation & Sanitization: Learn best practices for validating and sanitizing user input to prevent security vulnerabilities.
  • SQL Injection Protection: Utilize prepared statements with PDO to safeguard your database from SQL injection attacks.

Who is this course for?

  • Beginners: Start with the learning modules to build a strong foundation in PHP programming.
  • Experienced Developers: Jump directly into the project to solidify your understanding of PHP project structure and gain practical experience.

This course provides a solid understanding of PHP development principles and prepares you for building robust web applications.

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

5.0(199)
38m
beginner
skillshare
5.0(490)
1h 45m
intermediate
skillshare
pluralsight
5.0(33)
4h 22m
beginner
skillshare