From f0770085f0aee42839f43103fa8d2ac1714c6b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D0=B9=D1=87=D0=B5=D0=B2=20=D0=94=D0=BC=D0=B8?= =?UTF-8?q?=D1=82=D1=80=D0=B8=D0=B9?= Date: Mon, 10 Aug 2026 12:22:24 +0500 Subject: [PATCH] Add Laravel 13 support --- .github/workflows/tests.yml | 10 +++++----- CHANGELOG.md | 14 ++++++++++++++ Dockerfile | 4 ++-- composer.json | 6 +++--- 4 files changed, 24 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b3a2045..cac5356 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,10 +20,10 @@ jobs: # Docs: matrix: setup: ['basic', 'lowest'] illuminate: [default] - php: ['8.1','8.2','8.3','8.4'] + php: ['8.2', '8.3', '8.4', '8.5'] steps: - name: Check out code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 # Action page: @@ -37,7 +37,7 @@ jobs: # Docs: run: echo "output_dir=dir::$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache dependencies # Docs: - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: ${{ steps.composer-cache.outputs.output_dir }} key: ${{ runner.os }}-composer-${{ matrix.setup }}-${{ hashFiles('**/composer.json') }} @@ -61,7 +61,7 @@ jobs: # Docs: - name: Execute tests run: composer test-cover - - uses: codecov/codecov-action@v3 # Docs: + - uses: codecov/codecov-action@v7 # Docs: with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage/clover.xml @@ -72,7 +72,7 @@ jobs: # Docs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Lint changelog file uses: docker://avtodev/markdown-lint:v1 # Action page: diff --git a/CHANGELOG.md b/CHANGELOG.md index 8049ead..c4268a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver]. +## Unreleased + +### Added + +- Laravel `13.x` support + +### Changed + +- Minimal Laravel version now is `^11.0` +- Minimal `php` version is `8.2` +- Version of `composer` in docker container updated up to `2.10.0` +- Version of `php` in docker container updated up to `8.5` +- Update dev dependencies + ## v1.13.0 ### Changed diff --git a/Dockerfile b/Dockerfile index 4b67041..1f757a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM php:8.4-alpine +FROM php:8.5-alpine ENV \ COMPOSER_ALLOW_SUPERUSER="1" \ COMPOSER_HOME="/tmp/composer" -COPY --from=composer:2.9 /usr/bin/composer /usr/bin/composer +COPY --from=composer:2.10.0 /usr/bin/composer /usr/bin/composer RUN set -x \ && apk add --no-cache binutils git \ diff --git a/composer.json b/composer.json index 20ec5aa..fe283a3 100644 --- a/composer.json +++ b/composer.json @@ -16,14 +16,14 @@ } ], "require": { - "php": "^8.1", + "php": "^8.2", "ext-json": "*", "ext-mbstring": "*", "avtocod/specs": "~5.0", - "illuminate/support": "~9.0 || ~10.0 || ~11.0 || ~12.0" + "illuminate/support": "~11.0 || ~12.0 || ~13.0" }, "require-dev": { - "phpunit/phpunit": "^10.5 || ^11.0", + "phpunit/phpunit": "^11.0", "phpstan/phpstan": "^1.12" }, "autoload": {