From 1a4fe7c482751e6f759fa08fa9558974c1aae4dc Mon Sep 17 00:00:00 2001 From: Dominik Date: Tue, 9 Jun 2026 15:36:21 +0200 Subject: [PATCH 1/2] feat(l13): laravel 13 --- .github/workflows/test.yaml | 15 ++++++++++----- composer.json | 22 +++++++++++----------- config/plans.php | 2 ++ src/Contracts/Subscriber.php | 2 ++ src/Events/PlanChanged.php | 2 ++ src/Events/PlanSubscribed.php | 2 ++ src/Events/SubscriptionRenewed.php | 2 ++ src/Events/SubscriptionsRenewed.php | 2 ++ src/Exceptions/FeatureNotAvailable.php | 2 ++ src/LaravelPlansServiceProvider.php | 2 ++ tests/Models/User.php | 2 ++ tests/Pest.php | 2 ++ tests/database/factories/UserFactory.php | 2 ++ 13 files changed, 43 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2f6c93e..1d87400 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,16 +11,21 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2, 8.3, 8.4] - laravel: [11.*, 12.*] + php: [ 8.2, 8.3, 8.4, 8.5 ] + laravel: [ 11.*, 12.*, 13.* ] dependency-version: [prefer-lowest, prefer-stable] include: - - laravel: 11.* - testbench: 9.* + - laravel: 13.* + testbench: 11.* - laravel: 12.* testbench: 10.* + - laravel: 11.* + testbench: ^9.1.4 composer-version: [ v2 ] - name: PHP${{ matrix.php }} - L${{ matrix.laravel }} - Composer ${{ matrix.composer-version }} --${{ matrix.dependency-version }} + exclude: + - php: 8.2 + laravel: 13.* + name: PHP${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} steps: - name: Checkout diff --git a/composer.json b/composer.json index bab878b..6359b1f 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "require": { "php": "^8.2", "ext-intl": "*", - "illuminate/contracts": "^11.0|^12.0", + "illuminate/contracts": "^11.0|^12.0|^13.0", "nesbot/carbon": "^3.0", "spatie/eloquent-sortable": "^4.4", "spatie/laravel-package-tools": "^1.16.0", @@ -32,19 +32,19 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.59", - "illuminate/database": "^11.0|^12.0", - "illuminate/support": "^11.0|^12.0", + "illuminate/database": "^11.0|^12.0|^13.0", + "illuminate/support": "^11.0|^12.0|^13.0", "larastan/larastan": "^2.9|^3.1", "laravel/pint": "^1.0", "nunomaduro/collision": "^7.0|^8.0", - "orchestra/testbench": "^9.0|^10.0", - "pestphp/pest": "^2.21|^3.0", - "pestphp/pest-plugin-faker": "^2.0|^3.0", - "pestphp/pest-plugin-laravel": "^2.1|^3.0", - "phpstan/extension-installer": "^1.1|^1.4", - "phpstan/phpstan-deprecation-rules": "^1.0|^2.0", - "phpstan/phpstan-phpunit": "^1.0|^2.0", - "rector/rector": "^1.0|^2.0", + "orchestra/testbench": "^9.0|^10.0|^11.0", + "pestphp/pest": "^3.0|^4.0", + "pestphp/pest-plugin-faker": "^3.0|^4.0", + "pestphp/pest-plugin-laravel": "^3.0|^4.0", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan-deprecation-rules": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "rector/rector": "^2.0", "spatie/pest-plugin-test-time": "^2.0|^2.2" }, "autoload": { diff --git a/config/plans.php b/config/plans.php index 3ce89a9..76633d0 100644 --- a/config/plans.php +++ b/config/plans.php @@ -1,5 +1,7 @@ Date: Tue, 9 Jun 2026 15:38:55 +0200 Subject: [PATCH 2/2] feat(l13): laravel 13 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6359b1f..951a903 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-intl": "*", "illuminate/contracts": "^11.0|^12.0|^13.0", "nesbot/carbon": "^3.0", - "spatie/eloquent-sortable": "^4.4", + "spatie/eloquent-sortable": "^4.4|^5.0", "spatie/laravel-package-tools": "^1.16.0", "spatie/laravel-sluggable": "^3.6", "spatie/laravel-translatable": "^6.7"