Skip to content

Commit c18a866

Browse files
Laravel 13.x Compatibility (#13)
* Bump dependencies for Laravel 13 * Update GitHub Actions for Laravel 13
1 parent 32a8c16 commit c18a866

2 files changed

Lines changed: 19 additions & 9 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,31 @@ on:
66
- main
77
pull_request:
88
branches:
9-
- "*"
9+
- '*'
1010

1111
jobs:
1212
php-tests:
1313
runs-on: ubuntu-latest
14+
1415
timeout-minutes: 15
16+
1517
env:
1618
COMPOSER_NO_INTERACTION: 1
1719

1820
strategy:
1921
matrix:
2022
php: [8.4, 8.3, 8.2, 8.1]
21-
laravel: [12.*, 11.*, 10.*, 9.*]
23+
laravel: ['9.*', '10.*', '11.*', '12.*', '13.*']
2224
dependency-version: [prefer-stable]
2325
exclude:
2426
- laravel: 11.*
2527
php: 8.1
2628
- laravel: 12.*
2729
php: 8.1
30+
- laravel: 13.*
31+
php: 8.2
32+
- laravel: 13.*
33+
php: 8.1
2834

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

@@ -34,8 +40,8 @@ jobs:
3440

3541
- uses: actions/setup-python@v5
3642
with:
37-
python-version: '3.13'
38-
cache: 'pip' # caching pip dependencies
43+
python-version: '3.13'
44+
cache: pip
3945

4046
- name: Install Dependencies
4147
run: |

composer.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"name": "fruitcake/laravel-weasyprint",
33
"description": "WeasyPrint for Laravel",
4-
"keywords": ["laravel", "weasyprint", "pdf"],
4+
"keywords": [
5+
"laravel",
6+
"weasyprint",
7+
"pdf"
8+
],
59
"license": "MIT",
610
"authors": [
711
{
@@ -15,13 +19,13 @@
1519
],
1620
"require": {
1721
"php": "^8.1",
18-
"illuminate/support": "^9|^10|^11|^12",
19-
"illuminate/filesystem": "^9|^10|^11|^12",
22+
"illuminate/support": "^9|^10|^11|^12|^13.0",
23+
"illuminate/filesystem": "^9|^10|^11|^12|^13.0",
2024
"pontedilana/php-weasyprint": "^2.1"
2125
},
2226
"require-dev": {
23-
"orchestra/testbench": "^7|^8|^9|^10",
24-
"squizlabs/php_codesniffer": "^3.5"
27+
"orchestra/testbench": "^7|^8|^9|^10|^11.0",
28+
"squizlabs/php_codesniffer": "^3.5|^4.0"
2529
},
2630
"autoload": {
2731
"psr-4": {

0 commit comments

Comments
 (0)