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

Reached's avatar
Level 11

Customizing the invoice template of Spark

Simply: how do you actually customize the template that is being used for the invoices that are sent to the customers email?

I see the receipt.blade.php file, but not all of the information is available from there right away.

Has anyone managed to do this?

0 likes
3 replies
Cronix's avatar

What information are you needing that isn't available?

KentDahl's avatar

Going by the code, it seems it only shows the email, not name of the user, for one:

https://github.com/laravel/cashier/blob/9.0/resources/views/receipt.blade.php#L75

Personally I was confused since the Stripe dashboard has a lot of branding settings which I was surprised to see wasn't applied, until digging into it led me here.

I'm presuming that using the Stripe invoices would be a bit of a PITA to get implemented and that overriding and modifying the receipt.blade.php is the simplest way to go.

2 likes

Please or to participate in this conversation.