Consider using a view composer. That seems like the best option here.
You can make queries select a specific database by specifying the connection, which must be within the config/database.php under connections.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community