From a2ec4853453691bc5a83e48a7636b7d7adb1c6a4 Mon Sep 17 00:00:00 2001 From: Shift Date: Sun, 22 Feb 2026 15:24:48 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 13 --- composer.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 7e65510..0d82011 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,11 @@ "license": "MIT", "minimum-stability": "dev", "prefer-stable": true, - "keywords": ["ecommerce", "laravel", "vanilo"], + "keywords": [ + "ecommerce", + "laravel", + "vanilo" + ], "support": { "issues": "https://github.com/vanilophp/framework/issues", "source": "https://github.com/vanilophp/contracts" @@ -18,14 +22,16 @@ ], "require": { "php": "^8.3", - "illuminate/support": "^10.48|^11.46.2|^12.38", + "illuminate/support": "^10.48|^11.46.2|^12.38|^13.0", "nette/schema": "^1.2.5" }, "require-dev": { "phpunit/phpunit": "^10.0|^11.0" }, "autoload": { - "psr-4": { "Vanilo\\Contracts\\": "" } + "psr-4": { + "Vanilo\\Contracts\\": "" + } }, "extra": { "branch-alias": { From 6ef45193bab99abdc6ce8d248dd3bec3b7511fb8 Mon Sep 17 00:00:00 2001 From: Shift Date: Sun, 22 Feb 2026 15:24:48 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 13 --- .github/workflows/tests.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1c0723c..66e6c48 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,28 +1,37 @@ name: tests -on: [push] +on: + - push jobs: build: runs-on: ubuntu-latest + timeout-minutes: 10 + strategy: matrix: php: ['8.3', '8.4'] - laravel: [ '10.48', '11.46', '11.47', '12.38', '12.40' ] + laravel: ['10.48', '11.46', '11.47', '12.38', '12.40', '13.0'] + name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }} + steps: - name: Checkout uses: actions/checkout@master + - name: Installing PHP uses: shivammathur/setup-php@master with: php-version: ${{ matrix.php }} extensions: mbstring, json, sqlite3 tools: composer:v2 + - name: Lock Laravel Version run: composer require "illuminate/support:${{ matrix.laravel }}.*" --no-update -v && composer require "illuminate/console:${{ matrix.laravel }}.*" --no-update -v + - name: Composer Install run: composer install --prefer-dist --no-progress --no-interaction + - name: Run Tests run: php vendor/bin/phpunit --testdox