Skip to content

Commit d0a670c

Browse files
Allow Laravel 12 (#625)
* Allow Laravel 12 * Allow open ai 0.11
1 parent 0271556 commit d0a670c

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
12-
php: [8.2]
13-
laravel: [11.*]
12+
php: [8.2, 8.3, 8.4]
13+
laravel: [11.*, 12.*]
1414
stability: [prefer-lowest, prefer-stable]
1515
include:
1616
- laravel: 11.*
1717
testbench: 9.*
18+
- laravel: 12.*
19+
testbench: 10.*
1820

1921
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2022

2123
steps:
2224
- name: Checkout code
23-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2426

2527
- name: Setup PHP
2628
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"require": {
2121
"php": "^8.2",
22-
"illuminate/contracts": "^11.0",
22+
"illuminate/contracts": "^11.0|^12.0",
2323
"laravel/pint": "^1.0",
2424
"spatie/laravel-data": "^4.4",
2525
"spatie/laravel-package-tools": "^1.12",
@@ -29,12 +29,12 @@
2929
"brianium/paratest": "^7.0.6",
3030
"doctrine/dbal": "^3.0|^4.0",
3131
"nunomaduro/collision": "^8.1",
32-
"openai-php/laravel": "^0.8.1",
33-
"orchestra/testbench": "^9.0",
32+
"openai-php/laravel": "^0.8.1|^0.11",
33+
"orchestra/testbench": "^9.0|^10.0",
3434
"phpstan/extension-installer": "^1.1",
35-
"phpstan/phpstan-deprecation-rules": "^1.0",
36-
"phpstan/phpstan-phpunit": "^1.0",
37-
"phpunit/phpunit": "^10.0|^11.0",
35+
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
36+
"phpstan/phpstan-phpunit": "^1.0|^2.0",
37+
"phpunit/phpunit": "^10.0|^11.0|^12.0",
3838
"spatie/laravel-ray": "^1.9",
3939
"vimeo/psalm": "^6.0@dev"
4040
},

0 commit comments

Comments
 (0)