DB nie znaleziono w Laravel
use Illuminate\Support\Facades\DB
//or
use DB;
Isaac
use Illuminate\Support\Facades\DB
//or
use DB;