Skip to content

Commit 6d6e0e6

Browse files
committed
feat: added php 8 compatibility
1 parent 78a7d37 commit 6d6e0e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ php artisan vendor:publish --provider="Joaovdiasb\LaravelPdfManager\LaravelPdfMa
2525
->setFooter('DOCUMENT FOOTER')
2626
->setBody(str_repeat('<u>[NAME]</u><br />', 100))
2727
->setData(['[NAME]' => 'Jhon Doe'])
28-
->setPageCounter(10, 10)
28+
->setPageCounter()
2929
->save('documents');
3030
```
3131

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"minimum-stability": "dev",
1919
"prefer-stable":true,
2020
"require": {
21-
"php": "^7.4",
21+
"php": "^7.4|^8.0",
2222
"barryvdh/laravel-dompdf": "^2.0"
2323
},
2424
"require-dev": {

0 commit comments

Comments
 (0)