Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#528)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 11

* Update GitHub Actions for Laravel 11
  • Loading branch information
laravel-shift committed Mar 2, 2024
1 parent e95d1ba commit 845cb26
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,31 @@ on:
- master
pull_request:
branches:
- "*"
- *
schedule:
- cron: '0 0 * * *'

jobs:
php-tests:
runs-on: ubuntu-20.04

timeout-minutes: 15

env:
COMPOSER_NO_INTERACTION: 1

strategy:
matrix:
php: [8.2, 8.1, 8.0]
laravel: [10.*, 9.*]
laravel: ['9.*', '10.*', '11.*']
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"name": "barryvdh/laravel-snappy",
"description": "Snappy PDF/Image for Laravel",
"keywords": ["laravel","snappy", "pdf", "image", "wkhtmltopdf", "wkhtmltoimage"],
"keywords": [
"laravel",
"snappy",
"pdf",
"image",
"wkhtmltopdf",
"wkhtmltoimage"
],
"license": "MIT",
"authors": [
{
Expand All @@ -11,12 +18,12 @@
],
"require": {
"php": ">=7.2",
"illuminate/support": "^9|^10",
"illuminate/filesystem": "^9|^10",
"illuminate/support": "^9|^10|^11.0",
"illuminate/filesystem": "^9|^10|^11.0",
"knplabs/knp-snappy": "^1.4.4"
},
"require-dev": {
"orchestra/testbench": "^7|^8"
"orchestra/testbench": "^7|^8|^9.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 845cb26

Please sign in to comment.