Simple example how PhPgSql library can be extended with some useful methods and simple repository system for your apps.
src
directory contains the library extensionexample
directory simulates application, concrete library extensions, models (repositories) and examples, how to use this
Examples need the database with this structure.
Copy file examples/@config.local.php.example
to examples/@config.local.php
and set the correct connection parameters for you database.