Skip to content

Upgrade Laravel 10 to 12#266

Merged
shanerbaner82 merged 5 commits into
mainfrom
laravel-12
Feb 18, 2026
Merged

Upgrade Laravel 10 to 12#266
shanerbaner82 merged 5 commits into
mainfrom
laravel-12

Conversation

@shanerbaner82

Copy link
Copy Markdown
Contributor

Summary

  • Incrementally upgrades Laravel from 10 → 11 → 12 with all dependency bumps
  • Bumps torchlight/torchlight-commonmark to ^0.6.0 for L11+ compatibility
  • Removes doctrine/dbal (native schema support in L11+)
  • Removes deprecated Sanctum middleware config key
  • Fixes duplicate schedule entries in Console Kernel
  • Removes CreatesApplication trait (no longer needed in L12)
  • Fixes SVG validation in UpdatePluginLogoRequest (imagefile) for L12 compatibility

Test plan

  • php artisan test — 200 passing, 7 pre-existing failures (confirmed same on L10)
  • vendor/bin/pint --dirty — clean
  • Spot-check admin panel (Filament), docs pages, and plugin directory
  • Verify scheduled commands still run correctly

- Bump laravel/framework to ^11.0, laravel/sanctum to ^4.0
- Bump torchlight/torchlight-commonmark to ^0.6.0 (L11 compat)
- Bump nunomaduro/collision to ^8.0, php to ^8.2
- Remove doctrine/dbal (native schema support in L11)
- Remove deprecated middleware config from sanctum.php
- Remove duplicate schedule entries in Console Kernel
- Bump laravel/framework to ^12.0, phpunit/phpunit to ^11.0
- Remove CreatesApplication trait (no longer needed in L12)
- Change 'image' to 'file' in UpdatePluginLogoRequest for SVG compat
  (L12 image rule no longer accepts SVGs by default)
shanerbaner82 and others added 3 commits February 15, 2026 18:11
Run Rector with Laravel 12 rule sets and code quality rules across 83 files.
Key changes: closure void return types, dispatch() helper usage,
resolve() over app(), redirect()->route() to to_route(), and
Eloquent model $casts to casts() method migration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shanerbaner82
shanerbaner82 merged commit 8d0b9f1 into main Feb 18, 2026
1 of 2 checks passed
@simonhamp
simonhamp deleted the laravel-12 branch March 20, 2026 22:27
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