Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Laracasts

PHP For Beginners

via Laracasts

Overview

We all start somewhere. For programming, this series is that first step. I've designed it specifically for newcomers to, not just PHP, but programming in general. Here, you'll learn the fundamentals of PHP - all the way down to defining basic variables and arrays.Think of this series as a key stepping stone for your programming journey.

Syllabus

  • The Fundamentals
    • How to Choose a Programming Language
    • Tools of the Trade
    • Your First PHP Tag
    • Variables
    • Conditionals and Booleans
    • Arrays
    • Associative Arrays
    • Functions and Filters
    • Lambda Functions
    • Separate Logic From the Template
    • Technical Check-in #1 (With Quiz)
  • Dynamic Web Applications
    • Page Links
    • PHP Partials
    • Superglobals and Current Page Styling
    • Make a PHP Router
    • Create a MySQL Database
    • PDO First Steps
    • Extract a PHP Database Class
    • Environments and Configuration Flexibility
    • SQL Injection Vulnerabilities Explained
  • Notes Mini-Project
    • Database Tables and Indexes
    • Render the Notes and Note Page
    • Introduction to Authorization
    • Programming is Rewriting
    • Intro to Forms and Request Methods
    • Always Escape Untrusted Input
    • Intro to Form Validation
    • Extract a Simple Validator Class
  • Project Organization
    • Resourceful Naming Conventions
    • PHP Autoloading and Extraction
    • Namespacing: What, Why, How?
    • Handle Multiple Request Methods From a Controller Action?
    • Build a Better Router
    • One Request, One Controller
    • Make Your First Service Container
    • Updating With PATCH Requests
  • Sessions and Authentication
    • PHP Sessions 101
    • Register a New User
    • Introduction to Middleware
    • Manage Passwords Like This For The Remainder of Your Career
    • Log In and Log Out
  • Refactoring Techniques
    • Extract a Form Validation Object
    • Extract an Authenticator Class
    • The PRG Pattern (and Session Flashing)
    • Flash Old Form Data to the Session
    • Automatically Redirect Back Upon Failed Validation
  • Meet Composer
    • Composer and Free Autoloading
    • Install Two Composer Packages: Collections and PestPHP
  • Testing
    • Testing Approaches, Terms, and Considerations
  • Wrapping Up
    • The Next Step in Your PHP Journey

Taught by

Jeffrey Way

Reviews

Start your review of PHP For Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.