thedevdojo/voyager

Multiple Database

Offen

#1.703 geöffnet am 13.09.2017

 (10 Kommentare) (1 Reaktion) (0 zugewiesene Personen)PHP (2.652 Forks)batch import
featurehelp wanted

Repository-Metriken

Stars
 (11.817 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

  • Laravel Version: 5.4.*
  • Voyager Version: ^0.11.14
  • PHP Version: 7.1.8
  • Database Driver & Version: MariaDB 5.5.52

Description:

I do have multiple databases which works quite well within a Laravel App.

How can I configure Voyager to use them?

Is it possible to switch between connections?

Kind Regards

Steps To Reproduce:

  • new laravel project and installation of voyager with all required steps
  • create a new databases
  • setup new database connections in database.php config
  • just default one is present

Contributor Guide