Skip to content

Commit d2063f2

Browse files
authored
Merge pull request #36 from codedge/php-version-readme
Update php version and readme
2 parents 6596b7b + a08e0d2 commit d2063f2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ Route::get('/', function (Codedge\Fpdf\Fpdf\Fpdf $fpdf) {
9292

9393
## Use in Laravel Vapor
9494

95-
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:
95+
If you want to use [Laravel Vapor](https://vapor.laravel.com) to host your application,
96+
[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.
97+
To enable the use of this header, add the following environment variable to the Vapor environment file:
9698

9799
```dotenv
98100
FPDF_VAPOR_HEADERS=true
99-
```
101+
```

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codedge/laravel-fpdf",
3-
"description" : "Laravel 5 package for use with Fpdf. It ships with Fpdf 1.81.",
3+
"description" : "Laravel package to include Fpdf. It ships with Fpdf 1.81.",
44
"license": "MIT",
55
"keywords": [
66
"fpdf",
@@ -28,7 +28,7 @@
2828
}
2929
},
3030
"require": {
31-
"php": ">=5.4.0",
31+
"php": ">=7.2",
3232
"illuminate/support": "5.*|6.*"
3333
},
3434
"autoload": {

0 commit comments

Comments
 (0)