Support the ongoing development of Laravel.io →
Authentication Session Validation

Hello, What is the best way to logout specific user in Laravel?

Auth::logout() 

will just logout the current user, but how about specific user? where admin can disconnect a specific user if he wish to.

Thanks.

Last updated 3 years ago.
0

There are no methods for this, only hooks like this one.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Emorej anonymouse703 Joined 10 May 2018

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.