mpdf / examples
Example repository for Mpdf HTML to PDF generator
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 124
Watchers: 18
Forks: 148
Open Issues: 4
Requires
- guzzlehttp/guzzle: ^7.4
- mpdf/mpdf: ^8.1
Requires (Dev)
- tracy/tracy: ^2.5
This package is auto-updated.
Last update: 2024-12-06 07:58:46 UTC
README
How to use
- Clone the repository or download the ZIP release
- Initialize dependencies by running
$ composer install
- You will need to have composer installed.
- Then run example PHP files either from command line or from the browser
- In the command line, the files are sent to
stdout
, the most convenient is to redirect them to file with>
operator - In the browser, the output is sent inline to the browser so it should display in default PDF viewer
- In the command line, the files are sent to
There is a generated list of example links for browser in the repository index.php file.