Answers for "how to get database name in laravel"

PHP
0

get database name laravel

DB::getDatabaseName();
Posted by: Guest on December-01-2020
1

db name laravel

DB::connection()->getDatabaseName() //laravel
Posted by: Guest on October-30-2020

Code answers related to "how to get database name in laravel"

Browse Popular Code Answers by Language