I\'m using Laravel 5.3 and I\'m trying to get the authenticated user\'s id in the constructor method so I can filter
Laravel 5.3
id
constructor
Since 5.3 Auth::check will not work in a controller's construtor, it's one of undocumented changes. So, you need to move it to middleware or do check in controller methods instead or move project to 5.2.x.
Auth::check