Download the PHP package soap/dompdf-thai without Composer
On this page you can find all versions of the php package soap/dompdf-thai. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download soap/dompdf-thai
More information about soap/dompdf-thai
Files in soap/dompdf-thai
Package dompdf-thai
Short Description Add Thai fonts for Laravel DomPdf wrapper package
License MIT
Homepage https://github.com/soap/dompdf-thai
Informations about the package dompdf-thai
Thai language support for barryvdh/laravel-dompdf package
Add thai font support for barryvdh/laravel-dompdf package. Currently only THSanrabunNew is included.
Installation
You can install the package via composer:
Publish the assets (font files) into public/vendor/dompdf-thai
Create storage/fonts to store cache files.
Usage
Add @DompdfThaiFont inside head of your pdf view layout. You may put in resources/views/layouts/pdf.blade.php file. The following file was adapted from Laravel Breeze Guest layout file.
The following file is in resources/views/products. This file will be used by ProductController to stream pdf content.
This is part of the product controller.
Please consult the barryvdh/laravel-dompdf documentation for detail how to produce pdf from Laravel view.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Prasit Gebsaap
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.