Skip to content

Commit dea065a

Browse files
authored
Update README.md
修正readme错误
1 parent fee53d3 commit dea065a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This package provides a class to extract text from a pdf.
77
use Escarter\PopplerPhp\PdfToText;
88
use Escarter\PopplerPhp\getOutput;
99

10-
echo PdfToText::getText('document.pdf'); //returns the text from the pdf
11-
echo PdfToText::getOutput('document.pdf','destination_path/page_%d.pdf'); //returns null
10+
echo PdfToText::getText('document.pdf','/opt/homebrew/bin/pdftotext'); //returns the text from the pdf
11+
echo PdfSeparate::getOutput('document.pdf','/opt/homebrew/bin/pdfseparate','destination_path/page_%d.pdf'); //returns null
1212
```
1313

1414

@@ -48,7 +48,7 @@ yum install poppler-utils
4848
You can install the package via composer:
4949

5050
```bash
51-
composer require escarter/proppler-php
51+
composer require escarter/poppler-wrapper-php
5252
```
5353

5454
## Usage Extracting text
@@ -154,4 +154,4 @@ If you discover any security related issues, please email mbutuhescarter@gmail.c
154154

155155
## License
156156

157-
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
157+
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

0 commit comments

Comments
 (0)