Tutorialspoint

Celebrating 11 Years of Learning Excellence! Use: TP11

PHP Object Oriented Programming

person icon Alexandros Gkouvelis

4.3

PHP Object Oriented Programming

If you want to learn PHP Object Oriented Programming (OOP) then you are in the right place! (77 examples from scratch !)

updated on icon Updated on Jun, 2025

language icon Language - English

person icon Alexandros Gkouvelis

English [CC]

category icon Development ,Web Development,PHP

Lectures -84

Duration -7.5 hours

Lifetime Access

4.3

price-loader

Lifetime Access

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

Hello there !

Are you struggling to learn PHP Object Oriented Programming like I was some years ago?

Are you desperate because there are very few books or complete video tutorials with all the core concepts of Object Oriented Programming?

Well now you are in the right place because after my research I have collected from books and several online tutorials all the basic concepts for you and tried to explain them using at least 2 or 3 simple and meaningful examples for each one.

What will be taught:

  • classes

  • properties

  • methods

  • objects

  • $this keyword

  • constructors & destructors

  • chaining method

  • public & private access modifiers

  • inheritance & protected access modifiers

  • overriding

  • final keyword

  • Interface

  • abstract classes & abstract methods

  • static methods & static properties

  • Polymorphism

  • Encapsulation

  • Data Abstraction

  • Type Hinting

  • Dependency Injection

  • Traits

  • Autoloading

  • Namespaces

The way to learn these concepts is not only by practicing but also by making your own examples for each one.

So if you follow me step by step you will achieve that and you will be able to explain these OOP concepts using your own examples if needed in a job interview.

In that way you will gradually make a transition from procedural to object oriented world and you will have the opportunity to understand and get involved to bigger projects. In addition you will be able to write modular and reusable code with less effort and understand why Object Oriented Programming is so useful.

Goals

  • All PHP Object Oriented Programming concepts explained inside this course
  • At least 2 or 3 simple and meaningful examples for each concept ( included 77 examples from scratch ! )
  • All large companies use OOP - You will be able to answer interview questions
  • Once you understand the basics, which are the hardest till you get used to it, you will be able to dive into larger projects

Prerequisites

  • Basic familiarity with PHP syntax and procedural programming
  • Installed PHP on your operating system. It can be Windows, LINUX or MacOS
  • Available a free Text Editor like:  Notepad++, Sublime Text, VisualStudio Code
PHP Object Oriented Programming

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction & What is OOP & What is a Class

6 Lectures
  • play icon Introduction 01:51 01:51
  • play icon Prerequisites 00:46 00:46
  • play icon Important notice and What is OOP? 03:02 03:02
  • play icon Procedural vs OOP style 01:09 01:09
  • play icon Thinking in OOP 00:17 00:17
  • play icon What is a class? 01:02 01:02

How to define a class?

3 Lectures
Tutorialspoint

What is a property?

3 Lectures
Tutorialspoint

What is a method ?

3 Lectures
Tutorialspoint

What is an object?

4 Lectures
Tutorialspoint

How to define Methods with parameters and return value?

5 Lectures
Tutorialspoint

What is $this keyword?

8 Lectures
Tutorialspoint

What is constructor and destructor ?

8 Lectures
Tutorialspoint

What are Chaining Methods ?

4 Lectures
Tutorialspoint

What are access Modifiers ?

5 Lectures
Tutorialspoint

What is Inheritance & protected access modifier ?

5 Lectures
Tutorialspoint

What is overriding ?

5 Lectures
Tutorialspoint

What is final keyword ?

2 Lectures
Tutorialspoint

What is an Interface ?

2 Lectures
Tutorialspoint

What are abstract classes & abstract methods?

3 Lectures
Tutorialspoint

What are static methods & static properties?

4 Lectures
Tutorialspoint

What is Polymorphism ?

2 Lectures
Tutorialspoint

What is Data Encapsulation ?

3 Lectures
Tutorialspoint

What is Data Abstraction ?

1 Lectures
Tutorialspoint

What is Type Hinting ?

3 Lectures
Tutorialspoint

What is Dependency Injection ?

1 Lectures
Tutorialspoint

What are Traits ?

1 Lectures
Tutorialspoint

What is autoloading ?

1 Lectures
Tutorialspoint

What are namespaces ?

1 Lectures
Tutorialspoint

Final thoughts !

1 Lectures
Tutorialspoint

Instructor Details

Alexandros Gkouvelis

Alexandros Gkouvelis

My name is Alexandros Gkouvelis.

I am a self-taught passionate front end and back end web developer since 2009 and have worked for several tech companies.

My previous occupation for almost 13 years was a professor of Mathematics and Physics and I had had hundred of glad students.

I am a postgraduate student of Applied Mathematics And Physics Science in National Technical University of Athens in Greece.

And now I am here with my experience as a teacher and as a web developer to guide you through my courses so as to gain new skills and advance your careers.

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Feedbacks

P

Patrick Nadau Zadou

I learnt my first language OOP programming(C++) some years ago. I could not fully grasp this programming concept until I got a teacher who was a maths teacher. You are a maths teacher and you way of teaching is very concise, pedagogical and clear so much so that anyone without a programming experien

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515