Customising Laravel Cashier Invoices: Laravel 5.2

Following a post from AlexKaye regarding customising Laravel Cashier Invoice. I would like to make an update to that method as the article posted is for Laravel 4.2. As most installations of Laravel from this year will be from the latest version (5.2) I would like to post an update to the method. Once again following best practice, we don't want to edit the files from the vendor folder. So to get Laravel:Cashier to create the invoice views:
php artisan vendor:publish

Note that there is no way to specify which package you want to choose to publish the vendor packages for, so just take note if you have other packages waiting to create folders. After the above step, just go ahead and edit
/resources/views/packages/cashier/receipt.blade.php

 

Happy coding!

Leave a Reply

Your email address will not be published. Required fields are marked *