11wkhtmltopdf
22================
33
4- This Repo contains the Binarys from the [ wkhtmltopdf project] ( https ://code.google.com/p/ wkhtmltopdf/) .
4+ This Repo contains the Binarys from the [ wkhtmltopdf project] ( http ://wkhtmltopdf.org /) .
55More about the functionality of wkhtmltopdf and wkthmltoimage can be found there.
66
77## Installation
88
99_ Hint_ :
1010The version of the binary is equal to the git tag.
11- To install the latest version, use '0.11.0-RC1 '.
11+ To install the latest version, use '0.12.0 '.
1212
1313### Packagist
1414
1515This package can be found on [ Packagist] ( http://packagist.org ) and installed with [ Composer] ( http://getcomposer.com/ ) .
1616
1717Require the package for _ i386_ with:
1818
19- php composer.phar require h4cc/wkhtmltopdf-i386
19+ php composer.phar require h4cc/wkhtmltopdf-i386 "0.12.0"
2020
2121And for _ amd64_ with:
2222
23- php composer.phar require h4cc/wkhtmltopdf-amd64
23+ php composer.phar require h4cc/wkhtmltopdf-amd64 "0.12.0"
2424
2525The binary will then be located at:
2626
@@ -30,50 +30,3 @@ Also a symlink will be created in your configured bin/ folder, for example:
3030
3131 vendor/bin/wkhtmltopdf-i386
3232
33- ------------------------------------
34-
35- An alternative way to install this package is using the direct download from google code.
36- You have to add _ own package sources_ to the composer.json to provide a new installable package.
37-
38- {
39- "repositories": [
40- {
41- "type": "package",
42- "package": {
43- "name": "google/wkhtmltopdf-amd64",
44- "version": "0.11.0-RC1",
45- "dist": {
46- "url": "http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2",
47- "type": "tar"
48- }
49- }
50- },
51- {
52- "type": "package",
53- "package": {
54- "name": "google/wkhtmltopdf-i386",
55- "version": "0.11.0-RC1",
56- "dist": {
57- "url": "http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2",
58- "type": "tar"
59- }
60- }
61- }
62- ]
63- }
64-
65- After that, you can require the defined packages like this in your composer.json for _ i386_ :
66-
67- {
68- "require": {
69- "google/wkhtmltopdf-i386": "0.11.0-RC1"
70- }
71- }
72-
73- and for _ amd64_ :
74-
75- {
76- "require": {
77- "google/wkhtmltopdf-amd64": "0.11.0-RC1"
78- }
79- }
0 commit comments