Skip to content

Commit

Permalink
Merge pull request #18 from mantey-github/ft-update-readme-docx
Browse files Browse the repository at this point in the history
update readme file
  • Loading branch information
initred committed Apr 6, 2021
2 parents 2dd1c2a + 4d34c41 commit 74cbd93
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,19 @@ sudo dnf install java-latest-openjdk
### How to use on Laravel (Example)

```
$file = storage_path('app/public/pdf/test.pdf')
$tabula = new Tabula('/usr/bin/');
$tabula->convertInto(
storage_path('app/public/pdf/test.pdf'),
storage_path('app/public/json/test.csv'),
'csv',
'all'
);
$tabula->convertIntoByBatch(
storage_path('app/public/pdf'),
'json',
'all'
);
$tabula->setPdf($file)
->setOptions([
'format' => 'csv',
'pages' => 'all',
'lattice' => true,
'stream' => true,
'outfile' => storage_path("app/public/csv/test.csv"),
])
->convert();
```

### License
Expand Down

0 comments on commit 74cbd93

Please sign in to comment.