List of database

Submitted by harlekoy - 2 years ago

This is how you get the list of databases using Laravel.

$databases = Schema::getConnection()->getDoctrineSchemaManager()->listDatabases();