I need to handle different types of DB depending on the client.
I created a Facade called MyDBFacade where I can call my own functions.
For example:
You can create / extend your Facade like this:
And then replace (or add it as a new one) to your app/config/app.php:
app/config/app.php
'aliases' => array( 'MyDBFacade' => 'YourNameSpace\Facades\MyEventFacade::class', ),
Remember to execute composer dump-autoload at the end.
composer dump-autoload
Hope this helps!