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

obs's avatar
Level 3

Make changes to Spark Templates persist updates

Hello, I would like to make certain changes to templates that are shipped with Spark. They live in the resources/views/vendor/spark folder. These changes get overridden when updating Spark. Is there a way to make the changes persist updates? Like saving the templates outside this folder and have them still be used by Spark ?

0 likes
2 replies
Braunson's avatar

Due to the nature of updates, assuming you are using a version control manager like Git, you are best to skim through and compare the updated templates to see if something important was added/edited/fixed on an as needed basis.

However the docs do mention:

When you upgrade your application using php artisan spark:update, any views that have been modified will not be updated. Instead, you will simply be notified that these views were skipped.

So they shouldn't necessarily be overwritten if they have been modified.

Docs @ https://spark.laravel.com/docs/10.0/client-customization

1 like
obs's avatar
Level 3

Thanks for the link to the docs page. I haven't found this page before. The paragraph you cited is what I wanted to achieve.

Please or to participate in this conversation.