Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
beganovich committed Dec 21, 2020
1 parent d5d400a commit 96e0e21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ $pdf = $snappdf
->generate();
```

If none of previously listed option fits your needs, you can also set path to executable Chromium with environment variable.
```bash
SNAPPDF_EXECUTABLE_PATH=/path/to/your/chrome
```

Note: `setChromiumPath` has highest priority. Second one is environment variable & third local download.
### Possible runtime exceptions:
**Symfony\Component\Process\Exception\ProcessFailedException**
- When generating PDF was unsuccessful.
Expand Down

0 comments on commit 96e0e21

Please sign in to comment.