Object-Oriented PHP for Beginners π
Learn the basics of OOP PHP with easy-to-understand examples. The simplest tutorial to get started with Object-Oriented PHP!

Dani Krossing
137.1K views β’ Jul 30, 2023

About this video
Today I will teach you all the basics of Object Oriented PHP for beginners. π I tried making this the EASIEST Object Oriented PHP video on YouTube. This video will focus on not just showing you HOW to write OOP PHP, but also how to USE it, so you know exactly how to replace your existing Procedural PHP with Object Oriented PHP!
β€ CHAPTERS
00:00:00 - Introduction to OOP PHP!
00:03:45 - How to create a class in PHP
00:07:47 - Properties and visibility modifiers in OOP PHP
00:13:58 - Constructors in OOP PHP
00:18:03 - Instantiate objects in OOP PHP
00:20:53 - Access properties and methods in OOP PHP
00:22:48 - Methods in OOP PHP
00:26:28 - Create PHP objects anywhere
00:28:29 - Create getter and setter methods in OOP PHP
00:37:17 - How to use OOP PHP instead of Procedural PHP
β€ GET ACCESS TO MY LESSON MATERIAL!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon and YouTube Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Memberships: https://www.youtube.com/channel/UCzyuZJ8zZ-Lhfnz41DG5qLw/join
Patreon: https://www.patreon.com/mmtuts
β€ CHAPTERS
00:00:00 - Introduction to OOP PHP!
00:03:45 - How to create a class in PHP
00:07:47 - Properties and visibility modifiers in OOP PHP
00:13:58 - Constructors in OOP PHP
00:18:03 - Instantiate objects in OOP PHP
00:20:53 - Access properties and methods in OOP PHP
00:22:48 - Methods in OOP PHP
00:26:28 - Create PHP objects anywhere
00:28:29 - Create getter and setter methods in OOP PHP
00:37:17 - How to use OOP PHP instead of Procedural PHP
β€ GET ACCESS TO MY LESSON MATERIAL!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon and YouTube Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Memberships: https://www.youtube.com/channel/UCzyuZJ8zZ-Lhfnz41DG5qLw/join
Patreon: https://www.patreon.com/mmtuts
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
137.1K
Likes
3.6K
Duration
58:16
Published
Jul 30, 2023
User Reviews
4.7
(27) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now