Verification checklist for Laravel upgrading
1. Confirm the framework upgrade actually worked
You should see something like:
Also double-check:
2. Clear everything (this matters after major upgrades)
Run these once:
Then rebuild:
3. Check for breaking changes & deprecated features
Laravel 12 removes or tightens some legacy behavior.
Do this:
Look for warnings or environment mismatches.
Also scan logs:
Red flags to search for:
-
Deprecated middleware
-
Old authentication scaffolding
-
Removed helpers
-
Strict typing errors
4. Run your test suite (non-negotiable)
If you don’t have tests yet (👀), at least:
to surface runtime issues faster.
5. Smoke-test core features manually
Hit your critical flows:
-
Login / logout
-
CRUD screens
-
File uploads
-
Background jobs
-
APIs (Postman / curl)
For APIs:
Ensure routes are registered and middleware is correct.
6. Validate config & env compatibility
Check these files carefully:
-
.env -
config/app.php -
config/auth.php -
config/cache.php -
config/session.php
Laravel 12 is stricter with:
-
Enum values
-
Null config entries
-
Missing env vars
Run:
7. Queue, jobs, and scheduler
Verify background systems:
Run one job manually if possible.
8. Check Composer + PHP compatibility
Laravel 12 requires newer versions.
Then:
Watch especially for:
-
symfony/* -
league/* -
auth / permission packages
9. Re-publish vendor assets (if needed)
If you use:
-
Laravel UI / Breeze / Jetstream
-
Filament
-
Livewire
Run:
10. Production-readiness check
Before deploying:
If any of these fail → don’t deploy yet.
Bonus: quick “is anything broken?” command
Load a few pages and watch logs live:
TL;DR upgrade verification checklist
✅ Version check
✅ Clear & rebuild caches
✅ Run tests
✅ Manual smoke tests
✅ Check logs
✅ Verify jobs & scheduler
✅ Validate PHP + Composer versions
No comments: