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

LuiKang's avatar

User management in Laravel 8 with API

Hello All!

I'm making an application with Laravel8/Jetstream backend and Vue2 FrontEnd. (New to Laravel, but learned a lot from Jeffrey's "from Scratch" videos and I love the ecosystem!)

I would like to make a frontend page for managing users by admin and a profile manager for every user to edit their own data with password change function - using the services of Jetstream and Fortify.

Jetstream and Fortify presents a solution with Web, but I didn't find any help in the documentations if I would like to handle it by API.

I've found some solution to just get the User, modify it and save it, but I don't get how can I use the built in validations.

Can you please help me where should I start, with which components should I work with?

Many thanks in advance!

0 likes
3 replies
LuiKang's avatar

Well, thats a good start -> I've read that before and I didn't recognize I should use it. I've enabled the api feature - and what does it change?

--- Edit ---

This morning I woke up enlighted: by using the same routes with api should work... I just simply route my API to "user/profile-information" and it worked (after I enabled Jetstream's API feature and insert 'user/*' into my cors config)! (IMHO that should be clarified in the documentation.)

However it works for the current user only. How should I manage other users?

Please or to participate in this conversation.