I want to make a restful api using Laravel so I can use it with mobile application and SPA I also want to use sanctum to authenticate tokens. what is the most approperiate starter kit for my needs? I tried Breeze but it seems doesn't suit with sanctum.
Asked
Active
Viewed 351 times
1 Answers
0
Laravel's starter kits provide only front-end assets with already implemented auth. Jetstream uses Sanctum already. But in your case, I would just use Fortify that doesn't have any frontend if you are making API for mobile app.

PunyFlash
- 1,030
- 1
- 6
- 12
-
Does Fortify support sanctum, passport, jwt? do you think it's best to make register, login ... by my self without depending on starter kits? – Lana Hanna Jul 07 '22 at 11:59
-
Sanctum, password and jwt provides authorization methods which you can customize using your `auht.php` config. Fortify gives you routes for authorization. https://laravel.com/docs/9.x/fortify#laravel-fortify-and-laravel-sanctum. As long as you do not need frontend, just use Fortify, yes. – PunyFlash Jul 14 '22 at 12:53