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

snmd73's avatar

Adding a tab to settings - the Spark way

Hello all,

I'm trying to add a tab to the settings page and I figured out how to do this, but I'm not sure how to send that data to the server.

For instance, settings/security/update-password is has @click.prevent="update", but I can't see where the controller is for this or how they're submitting this data.

Should I just make ajax calls within the Vue/tab component to connect with the backend? I wanted to do it the spark way, but I'm pretty sure the handling between the client/server is in the vendor file. Not to mention, what happens when I upgrade Spark?

Any help on this would be appreciated.

Thanks

0 likes
1 reply
snmd73's avatar

No one? Do I have to pay? I'll pay.

Please or to participate in this conversation.