Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 745 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 745 Bytes

O.O.P. examples

This repository contains some Oriented Object Programation examples using PHP. The examples include:

  • The four pillars (Abstraction, encapsulation, polimorfism and inheritance)
  • Use of Interfaces
  • Dependency Injection (Vanilla & PHP DI)
  • Container (PHP DI)

Requirements

  • php 8.1
  • Docker (optional)

Installation (docker)

  • git clone https://github.com/chsjr1996/oop-examples.git
  • docker-compose up -d

By default Docker setup use port 80 to access application, then go to your browser and use this url: http://localhost

Ports

Port Description
80 Application
3306 MySQL
8000 phpMyAdmin

Under development