app/Http/Controllers/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Contracts\Support\Renderable
     */
Show the application dashboard.
@return \Illuminate\Contracts\Support\Renderable
Show the application dashboard . @return \ Illuminate \ Contracts \ Support \ Renderable
public function index()
    {
        $userinfo = User::where('provaider_user_id', Auth::user()->provaider_user_id)->first();
        return view('home', ['userinfo'=>$userinfo]);
    }
public function index ( ) { $ userinfo = User :: where ( 'provaider_user_id' , Auth :: user ( ) -> provaider_user_id ) -> first ( ) ; return view ( 'home' , [ 'userinfo' => $ userinfo ] ) ; }
Show the application dashboard.
Show the application dashboard .