Level 10
Hi, Apparently, Sanctum is not supported for Lumen framework and can only be installed with Laravel Framework, as mentioned in this link https://github.com/laravel/sanctum/issues/134
However, you can use jwt-auth package for API authentication https://github.com/tymondesigns/jwt-auth
2 likes