Skip to content

Commit 04bbd44

Browse files
committed
support laravel 12
1 parent acfbb9c commit 04bbd44

15 files changed

+1522
-2258
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727
fail-fast: true
2828
matrix:
2929
os: [ubuntu-latest]
30-
php: [8.3, 8.2, 8.1]
31-
laravel: [11.*, 10.*]
30+
php: [8.4, 8.3, 8.2]
31+
laravel: [12.*, 11.*]
3232
stability: [prefer-stable]
3333
include:
34+
- laravel: 12.*
35+
testbench: 10.*
36+
carbon: 3.*
37+
collision: 8.*
3438
- laravel: 11.*
3539
testbench: 9.*
3640
carbon: 3.*
3741
collision: 8.*
38-
- laravel: 10.*
39-
testbench: 8.*
40-
carbon: 2.*
41-
collision: 7.*
4242
exclude:
4343
- laravel: 11.*
4444
php: 8.1
@@ -69,6 +69,7 @@ jobs:
6969
run: |
7070
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" "nunomaduro/collision:${{ matrix.collision }}" --no-interaction --no-update
7171
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
72+
composer db
7273
7374
- name: Execute tests
7475
run: vendor/bin/pest

composer.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
},
3434
"scripts": {
3535
"testbench": "vendor/bin/testbench package:discover --ansi",
36+
"db": "vendor/bin/testbench package:create-sqlite-db && vendor/bin/testbench migrate",
3637
"analyse": "vendor/bin/phpstan analyse src tests",
3738
"test": "vendor/bin/pest",
3839
"test-coverage": "vendor/bin/pest --coverage",
@@ -52,26 +53,25 @@
5253
}
5354
],
5455
"require": {
55-
"php": "^8.1|^8.2",
56+
"php": "^8.2|^8.3|^8.4",
5657
"tomatophp/console-helpers": "^1.1",
57-
"filament/filament": "^3.2",
58+
"filament/filament": "^3.3",
59+
"filament/spatie-laravel-media-library-plugin": "^3.3",
60+
"filament/spatie-laravel-translatable-plugin": "^3.3",
5861
"tomatophp/filament-icons": "^1.1",
59-
"filament/spatie-laravel-media-library-plugin": "^3.2",
60-
"filament/spatie-laravel-translatable-plugin": "^3.2",
61-
"genealabs/laravel-model-caching": "^11.0",
6262
"tomatophp/filament-translation-component": "^v1.0"
6363
},
6464
"require-dev": {
65-
"laravel/pint": "^1.18",
65+
"laravel/pint": "^1.21",
6666
"livewire/livewire": "^2.10|^3.0",
67-
"nunomaduro/larastan": "^2.9",
68-
"orchestra/testbench": "^9.5",
69-
"pestphp/pest": "^2.36",
70-
"pestphp/pest-plugin-laravel": "^2.4",
71-
"pestphp/pest-plugin-livewire": "^2.1",
67+
"nunomaduro/larastan": "^3.1",
68+
"orchestra/testbench": "^10.0",
69+
"pestphp/pest": "^3.7",
70+
"pestphp/pest-plugin-laravel": "^3.1",
71+
"pestphp/pest-plugin-livewire": "^3.0",
7272
"phpstan/extension-installer": "^1.4",
73-
"phpstan/phpstan-deprecation-rules": "^1.2",
74-
"phpstan/phpstan-phpunit": "^1.4"
73+
"phpstan/phpstan-deprecation-rules": "^2.0",
74+
"phpstan/phpstan-phpunit": "^2.0"
7575
},
76-
"version": "2.0.3"
76+
"version": "2.0.4"
7777
}

0 commit comments

Comments
 (0)