Yes spark copies all views to /resources/views/vendor/spark so you can edit them.
If you look at /app/User, you'll see it extends the spark user. Customize that one. You can override any methods (or traits) that the original has in it too.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
For example I want to disable gravatars which I could do under vendor/laravel/spark-aurelius/src/user.php.
Presumably if I edited that then when Spark is updated it would be overwritten. How might I avoid that?
Similarly, with templates, I note under /vendor/laravel/spark-aurelius/resources/views what looks to be the same templates as in /resources/vendor/spark.
Obviously I am editing the latter ones. But what are the other ones for? Just for copying during installation?
Yes spark copies all views to /resources/views/vendor/spark so you can edit them.
If you look at /app/User, you'll see it extends the spark user. Customize that one. You can override any methods (or traits) that the original has in it too.
Please or to participate in this conversation.