Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Kwad's avatar
Level 3

Use Sentinel and Passport same time

Hi, I would like to know if you recommend using both Sentinel and Passport on the same project. I want to make a multiple page website with laravel. I already started developping with sentinel for web.php routes. I will certainly add a mobile application later. I will use react for mobile app and vue js for the multi page website. I can use web.php folder to make api calls with vue js and still have security handled by sentinel. But when it comes to mobile application (with react) I will be forced to use stateless architecture. Therefore I will have to use a tool like Passport for security right. So I assume I have two options: -> Handling the multi page website with sentinel only (with vue.js api calls trough web.php) and create a second api for mobile app with Passport. Or using the same api for vue.js and mobile app. In order to do this I need to use Sentinel and Passport at same time. What do you recommend ? Thanks

0 likes
0 replies

Please or to participate in this conversation.