To install:
Create env.php and update the values with your DB credentials. For the Object Oriented directory - run composer install. This is an example on using basic PHP require_once statements, including files dynamically, and using abstract DB connection.
Thanks and feel free to use this example as a way to teach PHP.