Hello to all, welcome to therichpost.com. In this post, I will tell you, How to use laravel Auth::user() id in query? Like I always say that laravel is the best Mvc php framework.
In this post, I will tell you to use laravel Auth::user() id in query and here are they:
$activated_up = User::where('id',Auth::user()->id)->get(); //or User::find(Auth::user()->id);
if you have any query related this post then please do ask
Leave a Reply