1 year ago

Global $user data across all controllers?

Posted 1 year ago by Mick79

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.