Skip to content

build: upgrade to Laravel 13#1441

Merged
NishaSharma14 merged 5 commits into
developmentfrom
upgrade/laravel-13
Jul 8, 2026
Merged

build: upgrade to Laravel 13#1441
NishaSharma14 merged 5 commits into
developmentfrom
upgrade/laravel-13

Conversation

@vcnainala

Copy link
Copy Markdown
Member

Summary

  • Upgrade Laravel from 12.x to 13.18 with compatible package bumps (l5-swagger 11, spatie/backup 10, markable 3, tinker 3, boost 2, PHPUnit 12)
  • Apply Laravel 13 configuration changes for Sanctum CSRF middleware, cache serializable_classes, and PHPUnit 12
  • Configure l5-swagger 11 to scan legacy OpenAPI docblock annotations and regenerate API docs

Test plan

  • vendor/bin/pint --dirty
  • php artisan l5-swagger:generate
  • php artisan test --no-coverage (2296 passed locally)
  • CI green on PHP 8.4
  • Pin SESSION_COOKIE, REDIS_PREFIX, and CACHE_PREFIX in production .env before deploy
  • Staging smoke test: login/session, /api/documentation, php artisan backup:run --only-db

vcnainala added 4 commits July 7, 2026 21:26
Bump the framework and packages that blocked the upgrade, including
l5-swagger, spatie/backup, markable, tinker, boost, and PHPUnit 12.
Update Sanctum CSRF middleware, cache serializable_classes defaults,
PHPUnit 12 schema, and document env prefix pinning for deploy safety.
Register a reflection analyser that supports docblock annotations alongside
PHP attributes and regenerate the API documentation for swagger-php 6.
Align documented package versions with the upgraded framework and tooling.
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.55%. Comparing base (2a8b239) to head (a64104d).

Additional details and impacted files
@@                Coverage Diff                @@
##             development    #1441      +/-   ##
=================================================
- Coverage          76.55%   76.55%   -0.01%     
  Complexity          3575     3575              
=================================================
  Files                247      247              
  Lines              13450    13450              
=================================================
- Hits               10297    10296       -1     
- Misses              3153     3154       +1     
Flag Coverage Δ
unittests 76.55% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@NishaSharma14 NishaSharma14 merged commit 44be447 into development Jul 8, 2026
6 of 7 checks passed
@NishaSharma14 NishaSharma14 deleted the upgrade/laravel-13 branch July 8, 2026 09:44
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.

2 participants