Change database connections on the fly.
See how to change the database connection details mid-request.
Make youreself at home. Read my thoughts. Formulate your own. And ideally, let me hear yours too, I'm available on email at [email protected]
See how to change the database connection details mid-request.
As you may already know, Laravel (since 5.3) ships with a great out-the-box notifications support, it also has native support for many "channels", extra channels like Telegram can be obtained from http://laravel-notification-channels.com, it's worth a look. But in this post, we're most concerned with the database driver...