Laravel Sanctum is for token based authentication so once you enter the credentials of the user and you issue token for them and that token will never expire by default sanctum.php
so you don’t need the remember me option here.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I m fresh student for this field. How to handle User "rember me" option using Laravel sanctum ? ( REST API Enviornment)
Please or to participate in this conversation.