Skip to content
Sabaqاردو

Learn PHP The Right Way (Program With Gio)

By Program With Gio

Course audio
Course audio: English
Level
Intermediate
Length
100 lessons · 23.6 hours

What you'll be able to do

  • Write modern PHP 8 with functions, arrays and error handling
  • Build object-oriented code with namespaces, Composer autoloading and interfaces
  • Work with MySQL through PDO, sessions and file uploads in an MVC app
  • Test with PHPUnit and use dependency injection containers

About this course

Program With Gio's 'Learn PHP The Right Way', 100 lessons and about 24 hours, taking modern PHP 8 from basics to professional practice. Section one covers installation and web servers, syntax, variables, every data type, operators, control structures, match, includes, functions, closures and arrow functions, dates, arrays, configuration, error handling, Apache and the file system. Section two is object-oriented PHP with Docker and Nginx: classes, constructor promotion, namespaces, PSR-4 autoloading with Composer, static members, inheritance, abstract classes, interfaces, magic methods, traits, exceptions, iterators, superglobals, sessions, file uploads, MVC, MySQL with PDO and transactions. Section three adds PHPUnit, dependency injection containers, enums, attributes, Doctrine, Eloquent, Guzzle, Blade and Twig, and the Slim framework.

Before you start: Basic HTML and some programming experience.

Syllabus

100 lessons · 23:35:07 in total

  1. 1Full PHP 8 Tutorial - Learn PHP The Right Way7:00
  2. 2How To Install PHP & What Are Web Servers - PHP 8 Tutorial8:29
  3. 3Basic PHP Syntax - PHP 8 Tutorial12:32
  4. 4What Are Constants & Variable Variables In PHP - Full PHP 8 Tutorial8:07
  5. 5PHP Data Types - Typecasting Overview & How It Works - Full PHP 8 Tutorial11:52
  6. 6PHP Boolean Data Type - Full PHP 8 Tutorial4:45
  7. 7PHP Integer Data type - Full PHP 8 Tutorial4:51
  8. 8PHP Float Data Type - Full PHP 8 Tutorial7:51
  9. 9PHP String Data Type - Heredoc & Nowdoc Syntax - Full PHP 8 Tutorial7:21
  10. 10PHP Null Data Type - Full PHP 8 Tutorial3:29
  11. 11PHP Array Data Type - Indexed, Associative & Multi-Dimensional Arrays - Full PHP 8 Tutorial16:52
  12. 12What Are Expressions In PHP & How They Are Evaluated - Full PHP 8 Tutorial2:38
  13. 13PHP Operators Part 1 - Full PHP 8 Tutorial14:27
  14. 14PHP Operators Part 2 - Full PHP 8 Tutorial16:13
  15. 15PHP Operator Precedence & Associativity - Full PHP 8 Tutorial5:27
  16. 16Control Structures in PHP - Conditional Statements - if/else - Full PHP 8 Tutorial5:13
  17. 17PHP Loops Tutorial - Break & Continue Statements - Full PHP 8 Tutorial12:24
  18. 18PHP Switch Statement - Switch vs if/else statement - Full PHP 8 Tutorial8:10
  19. 19PHP Match Expression - Match vs Switch - Full PHP 8 Tutorial5:08
  20. 20PHP Return, Declare & Tickable Statements - Full PHP 8 Tutorial5:58
  21. 21How To Include Files In PHP - Include and Require - Full PHP 8 Tutorial8:12
  22. 22How To Create Functions In PHP - Functions Tutorial - Full PHP 8 Tutorial8:02
  23. 23PHP Function Parameters - Named Arguments - Variadic Functions & Unpacking - Full PHP 8 Tutorial12:05
  24. 24PHP Variable Scopes - Static Variables - Full PHP 8 Tutorial5:41
  25. 25Variable, Anonymous, Callable, Closure & Arrow Functions In PHP - Full PHP 8 Tutorial8:38
  26. 26How To Work With Dates & Time Zones - Full PHP 8 Tutorial6:09
  27. 27How To Work With Arrays In PHP - Full PHP 8 Tutorial15:09
  28. 28How To Work With PHPs Configuration File - PHP.INI - Full PHP 8 Tutorial7:26
  29. 29PHP Error Handling & Error Handlers - Full PHP 8 Tutorial7:30
  30. 30Basic Apache Webserver Configuration & Virtual Hosts - Full PHP 8 Tutorial14:19
Show all 100 lessons
  1. 31Working With File System In PHP - Full PHP 8 Tutorial9:52
  2. 32Mini Exercise Project Overview - Full PHP 8 Tutorial3:11
  3. 33Building Small Part Of The App With Procedural PHP - Full PHP 8 Tutorial19:33
  4. 34PHP OOP Tutorial Section 2 - Intro to Object Oriented Programming - Full PHP 8 Tutorial4:19
  5. 35PHP Docker Tutorial - Nginx - PHPFPM VS Apache - Full PHP 8 Tutorial14:39
  6. 36PHP Classes & Objects - Typed Properties - Constructors & Destructors - Full PHP 8 Tutorial21:15
  7. 37Constructor Property Promotion - Nullsafe Operator - Full PHP 8 Tutorial9:33
  8. 38PHP Namespace Tutorial - Full PHP 8 Tutorial20:15
  9. 39PHP Coding Standards, Autoloading (PSR-4) & Composer - Full PHP 8 Tutorial21:50
  10. 40Object Oriented PHP - Class Constants - Full PHP 8 Tutorial9:25
  11. 41Static Properties & Methods In Object Oriented PHP - Full PHP 8 Tutorial12:58
  12. 42PHP - Encapsulation & Abstraction - Full PHP 8 Tutorial15:23
  13. 43PHP - Inheritance Explained - Is Inheritance Good? - Full PHP 8 Tutorial25:09
  14. 44PHP Abstract Classes & Methods - Full PHP 8 Tutorial9:36
  15. 45PHP Interfaces & Polymorphism - Interfaces Explained - Full PHP 8 Tutorial18:03
  16. 46What Are PHP Magic Methods & How They Work - Full PHP 8 Tutorial16:55
  17. 47What Is Late Static Binding & How It Works In PHP - Full PHP 8 Tutorial9:58
  18. 48PHP Traits - How They Work & Drawbacks - Full PHP 8 Tutorial31:41
  19. 49PHP Anonymous Classes - Full PHP 8 Tutorial7:17
  20. 50PHP Variable Storage & Object Comparison - Zend Value (zval) - Full PHP 8 Tutorial11:20
  21. 51PHP DocBlock - Adding Comments to Classes & Methods - Full PHP 8 Tutorial9:06
  22. 52PHP - Object Cloning & Clone Magic Method - Full PHP 8 Tutorial4:43
  23. 53PHP Serialize Objects & Serialize Magic Methods - Full PHP 8 Tutorial11:47
  24. 54OOP Error Handling In PHP - Exceptions & Try Catch Finally Blocks - Full PHP 8 Tutorial21:18
  25. 55PHP - DateTime Object - Full PHP 8 Tutorial25:30
  26. 56PHP Iterators & Iterable Type - Iterate Over Objects - Full PHP 8 Tutorial12:13
  27. 57PHP Superglobals - Basic Routing Using The Server Info - Full PHP 8 Tutorial12:55
  28. 58Get & Post Superglobals In PHP - Forms - Post Routes - Full PHP 8 Tutorial11:06
  29. 59PHP Sessions & Cookies - Output Buffering - Headers Already Sent Warning - Full PHP 8 Tutorial14:55
  30. 60PHP File Uploads - Full PHP 8 Tutorial8:32
  31. 61PHP MVC Pattern - View Parameters Exploit - Full PHP 8 Tutorial22:17
  32. 62HTTP Headers In PHP - Request & Response Headers - Full PHP 8 Tutorial11:59
  33. 63Intro To MySQL For PHP - Full PHP 8 Tutorial25:47
  34. 64PHP PDO Tutorial Part 1 - Prepared Statements - SQL Injection - Full PHP 8 Tutorial25:19
  35. 65PHP PDO Tutorial Part 2 - Transactions - Env Variables & PHPDotEnv - Full PHP 8 Tutorial17:02
  36. 66PHP PDO Tutorial Part 3 - Models & Refactoring - Full PHP 8 Tutorial22:49
  37. 67Section 2 review & exercise project - Full PHP 8 Tutorial4:37
  38. 68PHP OOP Tutorial Section 3 - Intro to Testing - Full PHP 8 Tutorial5:52
  39. 69PHP Unit Testing - PHPUnit Tutorial - Full PHP 8 Tutorial31:04
  40. 70PHPUnit Tutorial Part 2 - Mocking - Full PHP 8 Tutorial16:21
  41. 71Dependency Injection & DI Containers - Full PHP 8 Tutorial6:42
  42. 72Dependency Injection Container With & Without Reflection API Autowiring - Full PHP 8 Tutorial29:45
  43. 73DI Container With Interface Support - Full PHP 8 Tutorial12:13
  44. 74PHP Generators Explained - Full PHP 8 Tutorial25:47
  45. 75PHP WeakMap Explained - Full PHP 8 Tutorial10:09
  46. 76What's New In PHP 8.1 - Deprecations & Backward Incompatible Changes - Full PHP 8 Tutorial30:02
  47. 77Covariance & Contravariance in PHP - Full PHP 8 Tutorial16:17
  48. 78PHP Attributes - Simple Router With Attributes - Full PHP 8 Tutorial22:59
  49. 79PHP Enums With Practical Examples - Full PHP 8 Tutorial28:13
  50. 80Composition vs Inheritance in PHP With Practical Examples - Full PHP 8 Tutorial19:11
  51. 81How to Send Email in PHP - Symfony Mailer - Email Protocols - Mailhog Setup - Full PHP 8 Tutorial16:43
  52. 82How to Schedule Emails in PHP - Run Automated Scripts Using CRON - Full PHP 8 Tutorial16:04
  53. 83Intro to Doctrine PHP - DataBase Abstraction Layer - Query Builder - Full PHP 8 Tutorial17:47
  54. 84Doctrine ORM - PHP Entities & Data Mapper Pattern - Full PHP 8 Tutorial26:18
  55. 85Doctrine ORM Query Builder - Full PHP 8 Tutorial19:48
  56. 86What Are Database Migrations & How To Use Doctrine Migrations - Full PHP 8 Tutorial12:41
  57. 87What is active record pattern & how Laravel implements it with Eloquent - Full PHP 8 Tutorial36:29
  58. 88Refactor to use Eloquent instead of Doctrine DBAL - Full PHP 8 Tutorial11:58
  59. 89PHP cURL API Tutorial - Emailable API Integration - Full PHP 8 Tutorial17:56
  60. 90Refactor cURL to Guzzle With Retry Logic - Multiple API Integrations - Full PHP 8 Tutorial26:13
  61. 91Data Transfer Objects - What Are DTOs - Full PHP 8 Tutorial13:03
  62. 92Value Objects Practical Example - What is a Value Object? - Full PHP 8 Tutorial21:36
  63. 93Intro to Templating Engines - Blade & Twig - Full PHP 8 Tutorial13:29
  64. 94How To Install Xdebug 3 with Docker & PhpStorm - Full PHP 8 Tutorial11:27
  65. 95How To Deploy Vanilla PHP To Cloudways - Full PHP 8 Tutorial17:57
  66. 96Intro to Slim PHP Framework - Full PHP 8 Tutorial14:12
  67. 97Slim Framework With PHP-DI & Doctrine ORM - Full PHP 8 Tutorial9:30
  68. 98Little Refactoring Never Hurt Nobody - Full PHP 8 Tutorial12:24
  69. 99How To Create CLI App & Commands - Full PHP 8 Tutorial21:24
  70. 100100th Video In This PHP Series - Project Overview - Full PHP 8 Tutorial7:28

What to take next

Videos by Program With Gio, played from their official YouTube channel. Subscribe on YouTube

Official upload by the teacher or institution on their own channel, shown with YouTube's embedded player.

Lessons listed from the official YouTube playlist. Full playlist on YouTube

Lessons last checked Oct 2026. Course summary and lesson structure by Sabaq.

Report a problem or a rights request