Doctrine is an advanced PHP library for object-oriented database work. The main purpose and goal of Doctrine is to describe the database schema using data entities and manipulate the data in a fully object-oriented way.
This paradigm is called ORM …
To establish a connection to the database within Baraja Doctrine you need to use the Neon configuration file, which is a common part of the Nette framework.
The configuration can look like this: