You can publish the views using:
php artisan vendor:publish --tag=spark-views
and customize them per your needs. https://spark.laravel.com/docs/1.x/spark-stripe/customization.html#font
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey all,
I was just wondering how I'd go about customising the text and route of the "Return to Laravel" button on the left hand side of the Spark billing page? I know that the "Terms of Service" one can be added to config/spark.php but I'm unsure how to reword the return one as well as change its route. I'd like to change it to "Return to Homepage" or something along those lines, and have it redirect to "/home" instead of the default at the moment which is "/dashboard".
Laravel Spark does not ship out of the box with Inertia, so you or someone else if you are not working alone has added that one in there. Now for the Component that you would need to edit, in case you are using Vue take a look at resources/js/Pages or whatever is in the js directory to find out the view. What I would usually do is check which text I am looking to replace and try to search for it in my IDE through all files, and it will tell me which view is being loaded. Hope it makes sense.
Please or to participate in this conversation.