Question : Undefined type 'App\Http\Controllers\api\DB'.
Answered by : joyous-jay-cnl8gg6fb134
use Illuminate\Support\Facades\DB
Source : https://stackoverflow.com/questions/33106904/class-app-http-controllers-db-not-found-in-laravel-5-controller/33108316 | Last Update : Sun, 12 Jul 20