Global $user data across all controllers?
H, is it possible to pass data into some sort of global controller that is available in all other controllers?
I'm finding myself inserting
$user = Auth::user();
into every controller.
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!