ДБ не найден в Ларавеле
use Illuminate\Support\Facades\DB
//or
use DB;
Isaac
use Illuminate\Support\Facades\DB
//or
use DB;