check which database connect laravel
snippet in php

check which database connect laravel

user2998

DB::connection();