SandeeppantLaravel Trick : when statementEloquent when statement to avoid if else conditions. But did you know it has another parameter, a fallback function, which could be…1 min read·Feb 20, 2022----
SandeeppantLog out users from all devices on Laravel passportImagine a instance where you have to logout all the user from your system that uses Laravel passport oauth2 library to authenticate API…1 min read·Feb 14, 2022----