Skip to content

Commit 0488dc7

Browse files
authored
Merge pull request #133 from boesing/hotfix/password-removal-documentation
[FIX] Password removal example
2 parents b7b67d1 + 76b2a0d commit 0488dc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ A PDF conversion and form utility based on pdftk.
2121
* Add background or overlay PDFs
2222
* Read out meta data about PDF and form fields
2323
* Set passwords and permissions
24+
* Remove passwords
2425

2526
## Requirements
2627

@@ -281,7 +282,7 @@ $pdf->fillForm(['name' => 'My Name'])
281282

282283
// Example: Remove password from a PDF
283284
$pdf = new Pdf;
284-
$pdf->addPage('/path/my.pdf', null, 'some**password')
285+
$pdf->addFile('/path/my.pdf', null, 'some**password')
285286
->saveAs('/path/new.pdf');
286287
```
287288

0 commit comments

Comments
 (0)