Skip to content

Commit

Permalink
Merge pull request #36 from codedge/php-version-readme
Browse files Browse the repository at this point in the history
Update php version and readme
  • Loading branch information
codedge authored Dec 10, 2019
2 parents 6596b7b + a08e0d2 commit d2063f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ Route::get('/', function (Codedge\Fpdf\Fpdf\Fpdf $fpdf) {

## Use in Laravel Vapor

If you are wanting to use the [Laravel Vapor](https://vapor.laravel.com) platform to host your application, [a special/specific header](https://docs.vapor.build/1.0/projects/development.html#binary-responses) will need to be attached to each response that FPDF returns to your browser. To enable the use of this header, add the following environment variable to the Vapor environment file:
If you want to use [Laravel Vapor](https://vapor.laravel.com) to host your application,
[a special header](https://docs.vapor.build/1.0/projects/development.html#binary-responses) needs to be attached to each response that FPDF returns to your browser.
To enable the use of this header, add the following environment variable to the Vapor environment file:

```dotenv
FPDF_VAPOR_HEADERS=true
```
```
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codedge/laravel-fpdf",
"description" : "Laravel 5 package for use with Fpdf. It ships with Fpdf 1.81.",
"description" : "Laravel package to include Fpdf. It ships with Fpdf 1.81.",
"license": "MIT",
"keywords": [
"fpdf",
Expand Down Expand Up @@ -28,7 +28,7 @@
}
},
"require": {
"php": ">=5.4.0",
"php": ">=7.2",
"illuminate/support": "5.*|6.*"
},
"autoload": {
Expand Down

0 comments on commit d2063f2

Please sign in to comment.