Skip to content

Commit

Permalink
Binary updated to version 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
h4cc committed Feb 11, 2014
1 parent 9b33e54 commit ebaa56a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 52 deletions.
55 changes: 4 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
wkhtmltopdf
================

This Repo contains the Binarys from the [wkhtmltopdf project](https://code.google.com/p/wkhtmltopdf/).
This Repo contains the Binarys from the [wkhtmltopdf project](http://wkhtmltopdf.org/).
More about the functionality of wkhtmltopdf and wkthmltoimage can be found there.

## Installation

_Hint_:
The version of the binary is equal to the git tag.
To install the latest version, use '0.11.0-RC1'.
To install the latest version, use '0.12.0'.

### Packagist

This package can be found on [Packagist](http://packagist.org) and installed with [Composer](http://getcomposer.com/).

Require the package for _i386_ with:

php composer.phar require h4cc/wkhtmltopdf-i386
php composer.phar require h4cc/wkhtmltopdf-i386 "0.12.0"

And for _amd64_ with:

php composer.phar require h4cc/wkhtmltopdf-amd64
php composer.phar require h4cc/wkhtmltopdf-amd64 "0.12.0"

The binary will then be located at:

Expand All @@ -30,50 +30,3 @@ Also a symlink will be created in your configured bin/ folder, for example:

vendor/bin/wkhtmltopdf-i386

------------------------------------

An alternative way to install this package is using the direct download from google code.
You have to add _own package sources_ to the composer.json to provide a new installable package.

{
"repositories": [
{
"type": "package",
"package": {
"name": "google/wkhtmltopdf-amd64",
"version": "0.11.0-RC1",
"dist": {
"url": "http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2",
"type": "tar"
}
}
},
{
"type": "package",
"package": {
"name": "google/wkhtmltopdf-i386",
"version": "0.11.0-RC1",
"dist": {
"url": "http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2",
"type": "tar"
}
}
}
]
}

After that, you can require the defined packages like this in your composer.json for _i386_:

{
"require": {
"google/wkhtmltopdf-i386": "0.11.0-RC1"
}
}

and for _amd64_:

{
"require": {
"google/wkhtmltopdf-amd64": "0.11.0-RC1"
}
}
Binary file modified bin/wkhtmltopdf-amd64
Binary file not shown.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Convert html to pdf using webkit (qtwebkit). Static linked linux binary for amd64 systems.",
"keywords": ["pdf", "thumbnail", "snapshot", "wkhtmltopdf", "convert", "binary"],
"license": "LGPL Version 3",
"homepage": "https://code.google.com/p/wkhtmltopdf/",
"homepage": "http://wkhtmltopdf.org/",
"authors": [
{
"name": "Julius Beckmann",
Expand Down

0 comments on commit ebaa56a

Please sign in to comment.