db name laravel
snippet in php

db name laravel

user8778

DB::connection()->getDatabaseName() //laravel