Skip to content

Commit b84fc99

Browse files
authored
Merge pull request #6 from vitormattos/master
Remove binaries from repository
2 parents 030b4a0 + d8fc37c commit b84fc99

349 files changed

Lines changed: 2160 additions & 34102 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.idea
2-
composer.lock
32
.phpunit.result.cache
4-
vendor
3+
vendor

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
This package is only wrapper of [JSignPdf](http://jsignpdf.sourceforge.net/) to use in PHP
44

5-
### Installation:
5+
## Installation:
66

77
```bash
88
$ composer require jeidison/jsignpdf-php
99
```
10-
11-
Examples:
10+
11+
## Examples
1212

1313
```php
1414
use Jeidison\JSignPDF\JSignPDF;
@@ -26,31 +26,32 @@ file_put_contents('/path/to/file/file_signed.pdf', $fileSigned);
2626

2727
With Java Installed:
2828
```php
29-
30-
...
3129
$param->setIsUseJavaInstalled(true);
32-
...
30+
```
31+
32+
With JSignPDF bin:
33+
```php
34+
$param->setjSignPdfJarPath('/path/to/jsignpdf');
35+
```
36+
37+
Without JSignPDF bin:
38+
```bash
39+
composer require jsignpdf/jsignpdf-bin
3340
```
3441

3542
File signed as base64:
3643
```php
37-
...
3844
$param->setIsOutputTypeBase64(true);
39-
...
4045
```
4146

4247
Change temp directory:
4348
```php
44-
...
4549
$param->setTempPath('/path/temp/to/sign/files/');
46-
...
4750
```
4851

4952
Change parameters of JSignPDF:
5053
```php
51-
...
5254
$param->setJSignParameters("-a -kst PKCS12 -ts https://freetsa.org/tsr");
53-
...
5455
```
5556

5657
## Credits

bin/jre1.8.0_241_linux/COPYRIGHT

Lines changed: 0 additions & 69 deletions
This file was deleted.

bin/jre1.8.0_241_linux/LICENSE

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/jre1.8.0_241_linux/README

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)