laravel set database connection code example Example: db import laravel use Illuminate\Support\Facades\DB;