Support the ongoing development of Laravel.io →

dudalubos

Joined 30 Jun 2016

Statistics

Threads 0
Replies 1
Solutions 0
Articles 0

dudalubos has not posted any threads yet

replied 8 years ago

Changing Eloquent models database connection at runtime

Hi. You can simply extend the used base Model class with a new one, and have the following inside it...

0 Likes

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.