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

undrwd's avatar

Change spark path and kiosk name?

Wondering if there is a built in way to change the names of things.

Maybe developer to admin . . . Kiosk to Dashboard or Admin . . . And the /spark/ path to /admin/ possibly . . .

I know clients love renaming things and someone is going to ask.

0 likes
6 replies
chammond's avatar

I have the same question here - in my case we need to rename Spark's team to company. We have another concept of teams within our app that is different than Spark.

We could rename our internal team model to something else, but we'd rather rename Spark's and keep our terminology.

martinbean's avatar

@chammond You can set the modal class Spark should use for teams:

Spark::useTeamModel(Company::class);
sagearslan's avatar

@martinbean I don't think that's what @undrwd and @chammond means. I think they want to change the terminology, if I'm not mistaken. I'm looking to change the term "team" to "company" as well. Wondering if it's too much work to change the terminology all throughout Spark, and if it'll create too much confusion for development if I only change in the views only..

martinbean's avatar

@sagearslan It was in response to this:

We could rename our internal team model to something else, but we'd rather rename Spark's and keep our terminology.

I showed how to rename Spark’s Team model.

hubrik's avatar

@martinbean do you know how to change the name "Spark" used in notifications like team invitations?

undrwd's avatar

Ok, following up on my original question it looks like it's easy enough to create a new route and view where you can just have the users portion of the kiosk, that one works as expected.

When I try to include the metrics area on it's own page it's displaying but without data so I expect I'm missing something in view to pull in that data.

This might be better than renaming the existing kiosk for most apps.

Please or to participate in this conversation.