Download the PHP package einfacharchiv/laravel-cashier-microdata without Composer
On this page you can find all versions of the php package einfacharchiv/laravel-cashier-microdata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download einfacharchiv/laravel-cashier-microdata
More information about einfacharchiv/laravel-cashier-microdata
Files in einfacharchiv/laravel-cashier-microdata
Package laravel-cashier-microdata
Short Description Add Microdata to your Laravel Cashier invoices
License MIT
Homepage https://github.com/einfachArchiv/laravel-cashier-microdata
Informations about the package laravel-cashier-microdata
Add Microdata to your Laravel Cashier invoices (supporting JSON-LD)
This package provides an easy way to add Microdata (in JSON-LD format) to your Laravel Cashier invoices.
Requirements
PHP 7.0 and later.
Installation
You can install this package via Composer. Run the following command:
Usage
Add the following snippet to your invoice notification toMail
method and adjust the values to your environment. $this->invoice
is your \Laravel\Cashier\Invoice
(or alternatively \Stripe\Invoice
). The methods setSeller
, setBuyer
, and setUrl
are optional.
And add the following snippet to your resources/views/vendor/mail/html/layout.blade.php
before the </body>
tag.
Contributing
Contributions are welcome.
We accept contributions via Pull Requests on Github.
Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improvement? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.
If you've found a security issue, please email [email protected] instead of using the issue tracker.
Happy coding!
Credits
License
The MIT License (MIT). Please see License File for more information.