How to change the Menu configuration of laravel AdminLTE, other than the menu Icons (like the links). I need to update the logo on runtime based on DB

I need to Update the Logo on the Laravel AdminLTE on runtime based on a value from Database, as currently it is handled by the adminlte.php config file.
I have tried passing a global variable (say $logoUrl) to every view with View Composers and then I use javascript to change the logo src value.