Home > Software design >  Dynamic database connection in Symfony
Dynamic database connection in Symfony

Time:04-01

I have a second entity manager, and i want to get parameters from a database and change the DATABASE_URL to connect to another database.

# config/packages/doctrine.yaml
my_entity:
    url: '           
  • Related