B2db is a lightweight ORM and DBAL for modern PHP applications (7.1 or newer), that works MySQL, MariaDB, Postgres and Microsoft SQL server.
The purpose of b2db is to let you easily work with data objects, relations and business logic, without having to worry about the database persistence, connections and query quirks.