Skip to content

feat: support Laravel 13 - #3

Merged
imanimen merged 2 commits into
masterfrom
feat/laravel-13-support
Sep 6, 2026
Merged

imanimen merged 2 commits into
masterfrom
feat/laravel-13-support

Conversation

@imanimen

@imanimen imanimen commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Widen the illuminate/* constraints to ^13.0 and add a Laravel 13 row to the CI matrix (testbench ^11.0, PHP 8.3/8.4 — Laravel 13 requires PHP ^8.3, so the 8.2 combination is excluded).

No src/ changes were needed: every Illuminate API the package touches (Support\Manager's container/customCreators/createDriver, PendingRequest's retry/send/timeout, Client\Response, ServiceProvider's publishes and mergeConfigFrom) is unchanged in 13.x.

Dev dependencies widened alongside: testbench ^11.0, pest ^4.0 and pest-plugin-laravel ^4.0. Laravel 11 and 12 remain supported.

imanimen and others added 2 commits September 6, 2026 09:54
Widen the illuminate/* constraints to ^13.0 and add a Laravel 13 row to the
CI matrix (testbench ^11.0, PHP 8.3/8.4 — Laravel 13 requires PHP ^8.3, so
the 8.2 combination is excluded).

No src/ changes were needed: every Illuminate API the package touches
(Support\Manager's container/customCreators/createDriver, PendingRequest's
retry/send/timeout, Client\Response, ServiceProvider's publishes and
mergeConfigFrom) is unchanged in 13.x.

Dev dependencies widened alongside: testbench ^11.0, pest ^4.0 and
pest-plugin-laravel ^4.0. Laravel 11 and 12 remain supported.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Laravel 13 narrowed the `$parameters` docblock on `Illuminate\Support\Manager::__call`
from `array` to `array<string, mixed>`, which made the `array<int, mixed>` on this
override incompatible under PHPStan.

Widen the override to `array<array-key, mixed>` — a supertype of both — so the
declaration stays valid across 11.x through 13.x.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@imanimen
imanimen merged commit d6d7e5b into master Sep 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant