Import latest app updates from streamline

An updated set of source files and initialization was provided by streamline to
address issues observed during initial testing. These files have been updated in
order to generate a new set of app images.
This commit is contained in:
2024-04-11 11:16:51 -07:00
parent cb4c6b4c1a
commit 4a89356390
10435 changed files with 107737 additions and 1220538 deletions
@@ -1,49 +0,0 @@
wkhtmltopdf
================
This repository contains the static compiled binaries from the [wkhtmltopdf project](http://wkhtmltopdf.org/).
More about the functionality of wkhtmltopdf and wkthmltoimage can be found there.
Binaries for __Microsoft Windows__, also installable with composer, can be found here: [github.com/wemersonjanuario/wkhtmltopdf-windows](https://github.com/wemersonjanuario/wkhtmltopdf-windows)
Binaries for __CentOS 7__, also installable with composer, can be found here: [github.com/rvanlaak/wkhtmltopdf-amd64-centos7](https://github.com/rvanlaak/wkhtmltopdf-amd64-centos7)
## Installation
_Hint_:
The version of the binary is equal to the git tag.
To install the latest version, use '0.12.4'.
### Packagist
This package can be found on [Packagist](http://packagist.org) and installed with [Composer](https://getcomposer.org/).
Require the package for _i386_ with:
php composer.phar require h4cc/wkhtmltopdf-i386 "0.12.4"
And for _amd64_ with:
php composer.phar require h4cc/wkhtmltopdf-amd64 "0.12.4"
The binary will then be located at:
vendor/h4cc/wkhtmltopdf-i386/bin/wkhtmltopdf-i386
Also a symlink will be created in your configured bin/ folder, for example:
vendor/bin/wkhtmltopdf-i386
### Usage
You can use the path constant to easily locate the binary in the PHP codebase:
``` php
$path = \h4cc\WKHTMLToPDF\WKHTMLToPDF::PATH;
```
For realpath use following script
``` php
$realpath = realpath(\h4cc\WKHTMLToPDF\WKHTMLToPDF::PATH);
```