Hello Sentry how get user id from session or db
Sentry::getUser()->id;
Thanks
Sentry::getUser() returns a Eloquent model.
This would be the "auth-table" db record for the logged-in user.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community