Skip to content

Add Laravel 12 Support #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Feb 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.3, 8.2, 8.1]
laravel: ["^11.0", "^10.0", "^9.38"]
php: [8.4, 8.3, 8.2, 8.1]
laravel: ["^12.0", "^11.0", "^10.0", "^9.38"]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: "^12.0"
testbench: 10.*
- laravel: "^11.0"
testbench: 9.*
- laravel: "^10.0"
Expand All @@ -26,6 +28,8 @@ jobs:
exclude:
- laravel: "^11.0"
php: 8.1
- laravel: "^12.0"
php: 8.1

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

Expand All @@ -45,6 +49,9 @@ jobs:
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Remove larastan from dev dependencies
run: composer remove --dev nunomaduro/larastan

- name: Install dependencies
run: |
composer require 'illuminate/contracts=${{ matrix.laravel }}.0' --no-update
Expand Down
14 changes: 6 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,19 @@
],
"require": {
"php": "^8.1",
"illuminate/contracts": "^9.38|^10.0|^11.0",
"illuminate/contracts": "^9.38|^10.0|^11.0|^12.0",
"spatie/laravel-package-tools": "^1.14.0",
"symfony/mailer": "^6.0|^7.0"
},
"require-dev": {
"composer/semver": "^3.4",
"guzzlehttp/guzzle": "^7.5",
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0|^7.0|^8.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"pestphp/pest": "^1.21|^2.0",
"pestphp/pest-plugin-laravel": "^1.21|^2.0",
"nunomaduro/larastan": "^2.0.1|^3.0",
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0",
"pestphp/pest": "^1.21|^2.0|^3.0",
"pestphp/pest-plugin-laravel": "^1.21|^2.0|^3.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"spatie/laravel-ray": "^1.26"
},
"autoload": {
Expand Down
Loading