Slim 4: Doctrine CLI does not work

I started to create a project with Slim Framework 4 with doctrine support. I want to add the Doctrine CLI to my project to generate entities from my database schema.

The full source code of the CLI part can be found on my post at Stackoverflow.

Can someone help me to make my project work?

Hello @lonelobo0070

The Doctrine documentation is not very clear about this topic.

You could try this tutorials to add Doctrine CLI to the project: