Skip to content

Commit

Permalink
Merge pull request #2 from ChenRuihua/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Escarter authored Aug 8, 2022
2 parents fee53d3 + dea065a commit a1ca2fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ This package provides a class to extract text from a pdf.
use Escarter\PopplerPhp\PdfToText;
use Escarter\PopplerPhp\getOutput;

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


Expand Down Expand Up @@ -48,7 +48,7 @@ yum install poppler-utils
You can install the package via composer:

```bash
composer require escarter/proppler-php
composer require escarter/poppler-wrapper-php
```

## Usage Extracting text
Expand Down Expand Up @@ -154,4 +154,4 @@ If you discover any security related issues, please email [email protected]

## License

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

0 comments on commit a1ca2fd

Please sign in to comment.