Skip to content

Commit

Permalink
RenderPDF.io Driver for Laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsandaru committed Aug 3, 2024
1 parent 4f770b9 commit f01b024
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
Binary file added .github/renderpdf-io-cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 5 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,6 @@ jobs:
fail-fast: false
matrix:
version: [
{
"php": "8.0",
"laravel": "^9",
"test": "^7"
},
{
"php": "8.1",
"laravel": "^9",
"test": "^7"
},
{
"php": "8.2",
"laravel": "^9",
"test": "^7"
},
{
"php": "8.1",
"laravel": "^10",
Expand Down Expand Up @@ -78,6 +63,11 @@ jobs:
orchestra/testbench "${{ matrix.version.test }}" \
-W
- name: Further package for laravel ^10
if: success() && matrix.version.laravel == '^10'
run: |
composer require guzzlehttp/guzzle "^7.8" guzzlehttp/uri-template "^1.0"
- name: PHPUnit tests with coverage
if: success()
run: |
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Render HTML to PDF for Laravel - RenderPDF.io Laravel Driver

![RenderPDF.io Cover](./.github/renderpdf-io-cover.png)

[RenderPDF.io](https://renderpdf.io) provides awesome & developer-friendly APIs to convert HTML to PDF.

This is a Laravel package provides an easy integration with **RenderPDF.io**

## Requirement
- PHP 8+
- Laravel 9+
- PHP 8.1 and above
- Laravel 10 and above

## Installation

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
],
"license": "MIT",
"require": {
"php": "^8.0.2",
"laravel/framework": "^9|^10|^11|dev-master"
"php": "^8.1",
"laravel/framework": "^10|^11|dev-master"
},
"require-dev": {
"mockery/mockery": "^1.6",
"phpunit/phpunit": "^10",
"orchestra/testbench": "^7|^8|^9",
"orchestra/testbench": "^8|^9",
"phpunit/php-code-coverage": "^10"
},
"extra": {
Expand Down

0 comments on commit f01b024

Please # to comment.