Support the ongoing development of Laravel.io →
posted 4 years ago
Last updated 1 year ago.
0

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.

Last updated 4 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Veritexx veritexx Joined 19 Jan 2020

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.