Looping multyple DB connections in Laravel
I am summing the columns from different tables each in a different database. Created the models for each of the 8 connections and added them to the controller. use AppModelsobjectMapping1; use AppModelsobjectMapping2; use AppModelsobjectMapping3; use AppModelsobjectMapping4; use AppModelsobjectMapping5; use AppModelsobjectMapping6;…