From ae313740216e52eb1f9c03b6ab7885ce4cb8cc13 Mon Sep 17 00:00:00 2001 From: Juraj Husar Date: Tue, 14 Aug 2018 16:36:02 +0200 Subject: [PATCH] Increased app version and updated readme --- README.md | 16 ++++++++++++---- composer.json | 2 +- composer.lock | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4c6cf36..8d18df3 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,14 @@ PDF Merge library for PHP. -Install in composer: +Install with composer: + +`composer require jurosh/pdf-merge` + +Should add dependency: ```json -"jurosh/pdf-merge": "dev-master" +"jurosh/pdf-merge": "^2.0" ``` ## Highlights @@ -17,9 +21,9 @@ Tested in Laravel4 & Laravel5 framework (but still can be used without any frame ## Usage ```php -// Autoload classses... +// Autoload composer classses... -// and we can do stuff +// and now we can use library $pdf = new \Jurosh\PDFMerge\PDFMerger; // add as many pdfs as you want @@ -30,3 +34,7 @@ $pdf->addPDF('path/to/source/file.pdf', 'all', 'vertical') // call merge, output format `file` $pdf->merge('file', 'path/to/export/dir/file.pdf'); ``` + +That's it! + +Enjoy and leave star if you like it :) diff --git a/composer.json b/composer.json index c4eda51..6964a59 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "jurosh/pdf-merge", "description": "PHP PDF Merger", - "version": "1.0.0", + "version": "2.0.0", "keywords": [ "pdf", "merge" diff --git a/composer.lock b/composer.lock index 00221f1..ea965c0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8a15ac0a28daee79cb027bf594dbf769", + "content-hash": "b9b9fd5bf8d8002d39f8e848d1277850", "packages": [ { "name": "setasign/fpdf",