/** * Display a listing of the resource. * * @return Response */ public function index() { $result = UserProfile::all(); dd($result->toArray()); }