Laravel PHP Version Compatibility: Laravel 6 to 13 Matrix
Short answer: Laravel 13 needs PHP 8.3 or newer and Laravel 12 needs PHP 8.2 or newer. The table gives the supported PHP range and security dates for every version from Laravel 6 to 13. If you are sta...

Short answer: Laravel 13 needs PHP 8.3 or newer and Laravel 12 needs PHP 8.2 or newer. The table gives the supported PHP range and security dates for every version from Laravel 6 to 13. If you are starting a new project, use Laravel 13 on PHP 8.4 or 8.5; PHP 8.4 leaves active support on December 31, 2026 (php.net).
| Laravel | PHP versions | Security fixes |
|---|---|---|
| Laravel 13 | 8.3 – 8.5 | Until March 17, 2028 |
| Laravel 12 | 8.2 – 8.5 | Until February 24, 2027 |
| Laravel 11 | 8.2 – 8.4 | Ended March 12, 2026 |
| Laravel 10 | 8.1 – 8.3 | Ended February 4, 2025 |
| Laravel 9 | 8.0 – 8.2 | Ended February 6, 2024 |
| Laravel 8 | 7.3 – 8.1 | Ended January 24, 2023 |
| Laravel 7 | 7.2 – 8.0 | Ended March 3, 2021 |
| Laravel 6 | 7.2 – 8.0 | Ended September 6, 2022 |
On Laravel 11 or older? Those versions no longer get security fixes. Our Laravel upgrade service quotes a fixed price, from $799, after a free assessment: ask for a free assessment. For the current release, see Laravel versions.
If you are deciding whether to invest in an upgrade or start fresh, our article on whether Laravel is still the right choice in 2026 covers the business and technical case in full. For the step-by-step upgrade process from older versions, see our Laravel upgrade guide for 2026.
Updated November 11, 2026. Covers Laravel 6 to 13 and PHP 8.5, with the upcoming end-of-life dates.
You’re setting up a new server. Or a client just asked: “Can we upgrade to Laravel 13 with our current PHP 8.1 stack?” The answer, tucked inside release notes and Composer errors, can cost your team hours. This guide puts every answer in one place — a clear, accurate laravel php compatibility reference for Laravel 6 through 13, with practical upgrade guidance for real teams.
In this article
- The compatibility matrix at a glance
- What to do next, by the version you run
- Laravel 6 to 9 & PHP requirements
- Laravel 10 & PHP requirements
- Laravel 11 & PHP requirements
- Laravel 12 & PHP requirements
- Laravel 13 & PHP requirements
- Support status & end-of-life dates
- Upgrade path & checklist
- Summary & CTA
Laravel PHP Compatibility Matrix — Quick Reference (2026)
The table below answers which php version for laravel at every major release. Check it before you touch composer.json.
| PHP Version | Laravel 10 | Laravel 11 | Laravel 12 | Laravel 13 |
|---|---|---|---|---|
| PHP 8.0 | ✗ | ✗ | ✗ | ✗ |
| PHP 8.1 | ✓ | ✗ | ✗ | ✗ |
| PHP 8.2 | ✓ | ✓ | ✓ | ✗ |
| PHP 8.3 | ✓ | ✓ | ✓ | ✓ (minimum) |
| PHP 8.4 | ✗ | ✓ | ✓ | ✓ |
| PHP 8.5 | ✗ | ✗ | ✓ | ✓ |
Legend: ✓ = Supported • ✗ = Not supported
A note on Laravel 13 and PHP 8.3
Laravel 13 installs on PHP 8.3: it accepts both Symfony 7.4 and 8, and Composer picks the one your PHP allows. Your own packages may set a higher floor, so run composer why-not php 8.3 to check. Our Laravel package compatibility matrix lists the release lines that need PHP 8.4.
What to Do Next, by the Version You Run
The matrix shows what is supported. This table shows what to do about it, and by when. Laravel dates are from the Laravel release notes; PHP dates are from php.net.
| You run | Your deadline | Next step | Read next |
|---|---|---|---|
| Laravel 6 to 9, any PHP | Security fixes ended between 2021 and 2024 | Plan the framework and PHP upgrade together. Several major versions separate you from a supported release. | Upgrading Laravel 5–9 |
| Laravel 10 on PHP 8.1 | Laravel 10 security ended February 4, 2025; PHP 8.1 security ended December 31, 2025 | Move PHP to 8.2 first, then Laravel 11 and 12. | Laravel 10 end of life: options |
| Laravel 10 on PHP 8.2 or 8.3 | Laravel 10 security ended February 4, 2025 | Laravel 11, then 12, on the PHP you have. Laravel 13 once you are on PHP 8.3. | Laravel 10 end of life: options |
| Laravel 11 | Security ended March 12, 2026 | Laravel 12 keeps the PHP 8.2 floor, so it is the shortest step. Then Laravel 13. | Laravel 11 end of life |
| Laravel 12 on PHP 8.2 | PHP 8.2 security ends December 31, 2026; Laravel 12 security ends February 24, 2027 | Move PHP to 8.3 or 8.4 now, then Laravel 13. | PHP 8.2 end of life |
| Laravel 12 on PHP 8.3 or newer | Laravel 12 security ends February 24, 2027 | Laravel 13. It has minimal breaking changes from 12. | Laravel 12 to 13 guide |
| Laravel 13 on PHP 8.3 | PHP 8.3 security ends December 31, 2027 | Nothing urgent. Plan the move to PHP 8.4 during 2027. | Package compatibility |
| Laravel 13 on PHP 8.4 or 8.5 | Laravel 13 security fixes until March 17, 2028 | Keep up with minor releases and package updates. | Laravel maintenance plan |
In one of the first five rows? Our Laravel upgrade service gives you a fixed price, from $799, after a free assessment. See what a Laravel upgrade costs by app size, or tell us your Laravel and PHP versions.
Check what you are running
Run these on the server that serves the app, not only on your laptop. The PHP version on the command line can differ from the one PHP-FPM uses.
# PHP version (CLI)
php -v
# Laravel version of this app
php artisan --version
# Is Composer resolving against a pinned PHP version instead of the real one?
composer config platform.php
# Which installed packages block a move to PHP 8.4?
composer why-not php 8.4
To confirm what PHP-FPM runs, check phpversion() from a route or php-fpm -v on the server. If composer config platform.php prints a version, Composer installs packages for that version, whatever the server runs.
Dates to put in the calendar
December 31, 2026: PHP 8.2 security support ends.
February 24, 2027: Laravel 12 security fixes end.
Early 2027: Laravel 14 is expected. The Laravel docs say major versions ship yearly, around the first quarter.
December 31, 2027: PHP 8.3 security support ends.
March 17, 2028: Laravel 13 security fixes end.
Laravel 6 to 9 — PHP Requirements
All four are past their security support. If you’re on one of them, moving to a newer PHP on the same framework isn’t supported, so plan the framework and PHP together. Our guide to upgrading Laravel 5–9 covers the routes.
| Laravel | PHP | Released | Security fixes ended |
|---|---|---|---|
| Laravel 9 | 8.0–8.2 | February 8, 2022 | February 6, 2024 |
| Laravel 8 | 7.3–8.1 | September 8, 2020 | January 24, 2023 |
| Laravel 7 | 7.2–8.0 | March 3, 2020 | March 3, 2021 |
| Laravel 6 | 7.2–8.0 | September 3, 2019 | September 6, 2022 |
Laravel 10 — PHP Requirements
Laravel 10 dropped PHP 8.0 and made PHP 8.1 the minimum. It’s the last version to support PHP 8.1, which still matters for teams managing older hosting stacks. Laravel 10 also introduced full return types and argument types in every stub — a nice developer-experience improvement that PHP 8.1 made possible.
| PHP Version | Supported | Notes |
|---|---|---|
| PHP 8.0 | Not supported | Dropped from Laravel 10 |
| PHP 8.1 | Supported | Minimum requirement |
| PHP 8.2 | Supported | Fully compatible |
| PHP 8.3 | Supported | Fully compatible |
Laravel 10 is EOL
Security support for Laravel 10 ended in early 2025. If you’re still on Laravel 10, you’re already outside the safe support window.
Laravel 11 — PHP Requirements
Laravel 11 raised the minimum to PHP 8.2. That wasn’t just a cosmetic change. PHP 8.2 brought readonly classes, DNF types, and deprecated dynamic properties, and Laravel 11 leaned into that with its slimmer app structure.
The Laravel 11 project structure is also worth noting. It removed several default files, like the separate api.php route file and much of the starter middleware setup. Existing Laravel 10 apps do not need to mirror that new layout to upgrade safely.
| PHP Version | Supported | Notes |
|---|---|---|
| PHP 8.1 | Not supported | Minimum dropped |
| PHP 8.2 | Supported | Minimum requirement |
| PHP 8.3 | Supported | Recommended |
| PHP 8.4 | Supported | Fully compatible |
Laravel 11 is now out of security support
Security support ended March 12, 2026. Any production app still running Laravel 11 should be on an active upgrade path now.
Laravel 12 — PHP Requirements
Laravel 12 was intentionally calm. The core team focused on minimizing breaking changes instead of introducing large new APIs. In practice, many applications move from Laravel 11 to Laravel 12 without touching application code. It also introduced updated starter kits and optional WorkOS AuthKit integration for passkeys and SSO.
For laravel 12 php compatibility, Laravel 12 requires PHP 8.2 as the minimum, while PHP 8.3 and 8.4 both work comfortably. In 2026, PHP 8.3 remains the safest general recommendation for most Laravel 12 production environments.
| PHP Version | Supported | Composer Constraint |
|---|---|---|
| PHP 8.1 | Not supported | — |
| PHP 8.2 | Supported | ^12.0 |
| PHP 8.3 | Recommended | ^12.0 |
| PHP 8.4 | Supported | ^12.0 |
| PHP 8.5 | Supported | ^12.0 |
// composer.json
{
"require": {
"php": "^8.2",
"laravel/framework": "^12.0"
}
}
Laravel 12 support timeline
Bug fixes ended August 13, 2026. Security fixes continue until February 24, 2027. If you are on Laravel 12 today, you still have time — but Laravel 13 should already be part of your plan.
Laravel 13 — PHP Requirements (Released March 2026)

Laravel 13 launched on March 17, 2026. It is the current recommended version for new applications, and the biggest practical shift is straightforward: laravel 13 php version raises the minimum to PHP 8.3 and drops PHP 8.2 entirely.
Minimal breaking changes from Laravel 12 to 13
If you’re already on PHP 8.3 and Laravel 12, the upgrade is one of the lightest major-version moves Laravel has had.
What’s new in Laravel 13 that leans on PHP 8.3?
- Native PHP Attributes across more framework locations
- Laravel AI SDK with a provider-agnostic approach
- Cache::touch() to extend TTL without refetching data
- Reverb database driver for WebSocket broadcasting without Redis
- Passkey authentication in the auth scaffolding
| PHP Version | Laravel 13 Support | Recommendation |
|---|---|---|
| PHP 8.2 | Not supported | Upgrade PHP first |
| PHP 8.3 | Supported (Min) | Security support until December 31, 2027 |
| PHP 8.4 | Recommended | Security support until December 31, 2028 |
| PHP 8.5 | Supported | Security support until December 31, 2029 |
// composer.json
{
"require": {
"php": "^8.3",
"laravel/framework": "^13.0",
"phpunit/phpunit": "^12.0"
}
}
Support Status & End-of-Life Dates (2026)
Laravel’s support policy provides bug fixes for 18 months and security fixes for 2 years per major release. Here’s the picture as of November 2026:
Laravel 10
End of Life
Bug fixes ended Aug 2024
Security ended Feb 2025
Min PHP 8.1
Laravel 11
End of Life
Security ended Mar 12, 2026
Migrate urgently
Min PHP 8.2
Laravel 12
Security fixes only
Bug fixes ended Aug 13, 2026
Security until Feb 24, 2027
Min PHP 8.2
Laravel 13
Current
Bug fixes Q3 2027
Security March 17, 2028
Min PHP 8.3
No LTS in Laravel (since v6)
Laravel 6 was the last LTS release. Every current major version follows the same 18-month bug-fix and 2-year security model, which makes steady annual upgrades the healthier habit.
Running one of the end-of-life versions above? We quote a fixed price for the upgrade before any work starts. Ask for a free upgrade assessment. To weigh the options first, read Laravel 10 end of life: upgrade options or what to do now Laravel 11 is end of life, and see what a Laravel upgrade costs by app size.
Upgrade Path & Pre-Flight Checklist
You cannot skip major versions cleanly in Laravel. The upgrade path should be sequential:
Laravel 10 → Laravel 11 → Laravel 12 → Laravel 13
Pre-upgrade checklist: Laravel 12 → 13
- Run
php -von production. You need PHP 8.3 or later. - Update
composer.jsonto requirelaravel/framework: ^13.0andphpunit/phpunit: ^12.0. - Run
composer updateon a feature branch. - Clear caches before testing the app.
- Review queue behavior, cache configuration, and CSRF/origin settings.
- Drain queues before deployment if you are moving workers between Laravel 12 and 13.
- Deploy to staging first and run the full test suite.
- Confirm ecosystem packages like Livewire, Inertia, Filament, and Spatie packages are ready.
For the full walkthrough, from updating dependencies to the database changes, see our Laravel 12 to 13 upgrade guide. If you would rather hand the work over, our Laravel upgrade service does it at a fixed price, quoted after a free assessment. Afterwards, the Laravel maintenance plan keeps framework, package and PHP updates current.
Use Laravel Shift for mechanical upgrades
For larger apps, Laravel Shift is often worth it because it handles much of the repetitive upgrade work and opens a reviewable pull request.
What if I’m still on PHP 8.1?
If your server still runs PHP 8.1, you are locked to Laravel 10 — which is already end-of-life. The safest route is usually PHP 8.1 → PHP 8.2 first, then Laravel 11 or 12, then PHP 8.3, and finally Laravel 13.

Summary: Laravel PHP Compatibility at a Glance
Legacy
- Laravel 10 — Min PHP 8.1 • EOL
- Laravel 11 — Min PHP 8.2 • Security ended Mar 2026
Current
- Laravel 12 — Min PHP 8.2 • Runs on 8.2 to 8.5
- Laravel 13 — Min PHP 8.3 • Runs on 8.3 to 8.5
Practical Rule
- No LTS exists now
- Upgrade sequentially
- Check PHP first, then Laravel
The laravel php compatibility story in 2026 is actually encouraging. The upgrade from Laravel 12 to Laravel 13 is one of the smoothest Laravel has had. For most teams, the real blocker is not application code. It is the PHP version running underneath the app.
Tags: #Laravel #PHP #Laravel13 #PHP83 #WebDevelopment #ITMarkerz
Frequently Asked Questions
Common questions about this topic
1What PHP version does Laravel 13 require?
What PHP version does Laravel 13 require?
2What PHP version does Laravel 12 require?
What PHP version does Laravel 12 require?
3What PHP version does Laravel 11 require?
What PHP version does Laravel 11 require?
4Can I use PHP 8.2 with Laravel 13?
Can I use PHP 8.2 with Laravel 13?
5Does Laravel 13 support PHP 8.4?
Does Laravel 13 support PHP 8.4?
6Does Laravel 13 support PHP 8.5?
Does Laravel 13 support PHP 8.5?
7When does Laravel 12 reach end of life?
When does Laravel 12 reach end of life?
8When does Laravel 13 reach end of life?
When does Laravel 13 reach end of life?
9Is Laravel 11 still supported in 2026?
Is Laravel 11 still supported in 2026?
10Should I upgrade PHP or Laravel first?
Should I upgrade PHP or Laravel first?
11When does PHP 8.2 support end?
When does PHP 8.2 support end?
12What is the Laravel support policy?
What is the Laravel support policy?
Binu Mathew
CEO @ itmarkerz technologies
Weekly Digest
Curated tech insights
Get the latest articles and tutorials delivered directly to your inbox.
No spam. Unsubscribe anytime.