PHPackages                             fabiang/doctrine-switch-connection - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. fabiang/doctrine-switch-connection

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

fabiang/doctrine-switch-connection
==================================

Switch your Doctrine connection depending on some others object value

v1.0.0(5y ago)16BSD-2-ClausePHPPHP ^7.4 || ^8.0

Since Feb 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/fabiang/doctrine-switch-connection)[ Packagist](https://packagist.org/packages/fabiang/doctrine-switch-connection)[ RSS](/packages/fabiang-doctrine-switch-connection/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

fabiang/doctrine-switch-connection
==================================

[](#fabiangdoctrine-switch-connection)

[![Build Status](https://camo.githubusercontent.com/ac73cd825fafa1d374642c7c97b86c707e4bf6ae01698ea4b52d579f07c564bd/68747470733a2f2f7472617669732d63692e636f6d2f66616269616e672f646f637472696e652d7377697463682d636f6e6e656374696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/fabiang/doctrine-switch-connection)

This Laminas and Zend Framework 3 module helps you to switch your Doctrine connection depending on some others object value.

```
composer require fabiang/doctrine-switch-connection
```

Add the module to your `application.config.php`:

```
