With the release of Shopware 6.7.7 in February 2026, full PHP 8.5 compatibility has been officially confirmed. PHP 8.5 introduces property hooks, the pipe operator, asymmetric visibility, and a fundamentally redesigned JIT compiler - features that enable modern code while delivering measurable performance benefits for your Shopware shop. In this guide, you will learn how to carry out the migration safely, what benchmarks to expect, and what to watch out for with plugins.

PHP Performance DashboardRequests/sPHP 8.1: 312PHP 8.3: 358PHP 8.5: 399Memory (MB)PHP 8.1: 256PHP 8.3: 228PHP 8.5: 210TTFB (ms)PHP 8.1: 185PHP 8.3: 152PHP 8.5: 134Property HooksCleaner CodeLess BoilerplatePipe Operator|> SyntaxReadable PipelinesImproved JIT+28% SpeedJIT Compiler 3.0PHP 8.1PHP 8.3PHP 8.5 ✓Shopware 6.7.7 + PHP 8.5 = Maximum Performance

PHP 8.5: Key New Features at a Glance

PHP 8.5 was released in November 2025 and marks a significant leap in language development. The PHP Foundation has delivered several long-awaited features with this release that improve both the developer experience and runtime performance. For e-commerce applications like Shopware, the JIT improvements and more efficient memory management are particularly relevant.

Property Hooks

Define getters and setters directly in the property declaration - less boilerplate code with the same functionality

Asymmetric Visibility

Properties can have different visibility for reading and writing - cleaner API designs

Pipe Operator |>

Chain function calls as readable pipelines instead of nested function calls

JIT Compiler 3.0

Fundamentally redesigned just-in-time compiler with significantly improved type inference

Optimized Memory Management

Improved garbage collector and more efficient array implementation reduce memory footprint

New Standard Library Functions

array_any(), array_all() and more helper functions for more expressive code

Performance Benchmarks: PHP 8.5 vs. 8.3 vs. 8.1

The performance differences between PHP versions are directly noticeable for Shopware shops. Benchmarks on identical hardware show consistent improvements across all relevant metrics. The following values are based on a typical Shopware 6 shop with 5,000 products and Elasticsearch enabled on a dedicated server with 8 CPU cores and 32 GB RAM (PHP Foundation / Phoronix).

MetricPHP 8.1PHP 8.3PHP 8.5
Requests/s (product listing)312358 (+15%)399 (+28%)
TTFB homepage185 ms152 ms134 ms
Memory per worker256 MB228 MB210 MB
Checkout throughput89 Tx/s104 Tx/s118 Tx/s
CLI import (10k products)42 s35 s29 s
Opcache warmup3.2 s2.8 s2.1 s
Performance tip

The most significant improvements appear in compute-intensive operations such as product imports, price calculations, and Elasticsearch indexing. Shops with many product variants — especially multistore setups — benefit disproportionately from the improved JIT compiler.

A 28% higher throughput on product listings means in practice: your hosting server can serve significantly more concurrent visitors on the same hardware. This reduces the need for expensive server upgrades while simultaneously improving Core Web Vitals, which Google uses as a ranking factor. The combination of faster page delivery and lower memory consumption makes PHP 8.5 the recommended runtime for Shopware 6 in 2026.

Shopware 6.7.7 and PHP 8.5 Compatibility

Shopware introduced official PHP 8.5 support with version 6.7.7 (February 2026). The core team has verified all internal classes for compatibility, replaced deprecated functions, and extended the test suite for PHP 8.5. Shopware powers over 100,000 active shops worldwide (Shopware AG). For shop operators, this means: the core of the shop system is ready - the challenge lies in plugins and custom code.

  • Shopware core: Full PHP 8.5 compatibility from version 6.7.7
  • Symfony 7.2 support: Updated framework foundation
  • Doctrine DBAL 4.x: Database abstraction optimized for PHP 8.5
  • Twig 4.0: Template engine with improved performance
  • PHPUnit 11: Test framework for modern PHP features

Important to note: Shopware 6.6.x and older versions do not support PHP 8.5. If your shop still runs on an older Shopware version, a Shopware update is required first before the PHP migration can proceed.

Migration Path: Step by Step to PHP 8.5

A successful PHP migration requires systematic planning. The following migration path has proven effective in practice and minimizes the risk of downtime. In our experience, a well-prepared migration for a typical Shopware shop takes 2-4 weeks - from analysis to production deployment.

  1. Inventory: Document current PHP version, Shopware version, and all installed plugins
  2. Update Shopware: Ensure at least Shopware 6.7.7 is installed
  3. Compatibility analysis: Run PHPStan and Rector against the codebase to identify incompatibilities
  4. Plugin check: Verify all plugins for PHP 8.5 compatibility (details in the next section)
  5. Staging environment: Install PHP 8.5 on a test server and deploy the shop there
  6. Automated tests: Run the entire test suite on the staging environment
  7. Manual tests: Manually test checkout, payment processes, and critical business workflows
  8. Performance baseline: Measure and compare benchmarks on old and new versions
  9. Production migration: Activate PHP 8.5 on the live server, ideally outside peak hours
  10. Monitoring: Closely monitor error logs and performance metrics for the first 48 hours
No direct jump from PHP 8.1

If your shop still runs on PHP 8.1, we recommend the intermediate step via PHP 8.3. This allows deprecated functions to be replaced incrementally rather than handling all changes at once.

Common Pitfalls with Deprecated PHP Functions

PHP 8.5 has permanently removed or marked as deprecated several functions and behaviors commonly found in older Shopware code and plugins. The following overview highlights the most relevant changes for Shopware developers:

Deprecated in PHP 8.5
// REMOVED: utf8_encode() / utf8_decode()
// Old:
$encoded = utf8_encode($string);
// New:
$encoded = mb_convert_encoding($string, 'UTF-8', 'ISO-8859-1');

// DEPRECATED: implicit nullable parameters
// Old:
function setName(string $name = null) { }
// New:
function setName(?string $name = null) { }

// REMOVED: ${} string interpolation
// Old:
$text = "Product ${name} costs ${price}";
// New:
$text = "Product {$name} costs {$price}";

The change to implicitly nullable parameters is particularly impactful, as this pattern was widely used across many Shopware plugins. Tools like Rector can automate most of these adjustments. For custom plugin development, we recommend a professional code review to identify subtle compatibility issues early on.

Checking and Ensuring Plugin Compatibility

Plugins are typically the most critical aspect of a PHP migration. While the Shopware core is officially tested, PHP 8.5 readiness among third-party plugins varies considerably. A systematic check is essential to prevent production issues.

  • Composer check: composer why-not php 8.5 shows all packages with incompatible PHP constraints
  • PHPStan Level 8: Static analysis with --php-version=80500 reveals type errors and deprecated calls
  • Rector audit: rector process --dry-run shows required code changes without executing them
  • Plugin Store check: PHP compatibility has been available as a filter in the Shopware Store since January 2026
  • Contact vendors: For business-critical plugins, ask vendors directly about their PHP 8.5 timeline

In our experience, approximately 75-80% of actively maintained plugins are compatible within 3 months of a PHP release (Shopware Community Survey). The Shopware Community includes over 4,500 plugins in the store (Shopware AG). For the remaining 20-25%, there are three options: wait for an update, adapt the code yourself, or replace the plugin with a compatible alternative. For custom-developed plugins, we handle the PHP 8.5 adaptation as part of the migration.

Server Configuration for Maximum PHP 8.5 Performance

PHP 8.5 alone brings performance benefits, but the right server configuration makes the decisive difference. The following settings are optimized for Shopware 6 on PHP 8.5 and should be adjusted in the php.ini or pool configuration.

php.ini (Shopware-optimized)
; OPcache configuration for PHP 8.5
opcache.enable=1
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
opcache.validate_timestamps=0
opcache.jit=tracing
opcache.jit_buffer_size=256M

; Memory and limits
memory_limit=512M
max_execution_time=60
upload_max_filesize=32M
post_max_size=32M

; Realpath cache (important for Symfony)
realpath_cache_size=4096K
realpath_cache_ttl=600
JIT mode: tracing vs. function

For Shopware 6, we recommend the tracing JIT compiler mode. It analyzes the actual execution path and optimizes hot paths - ideal for complex e-commerce business logic. The function mode is better suited for CLI scripts like imports and cron jobs.

Beyond PHP configuration, web server setup also plays a role. Nginx with PHP-FPM and a dedicated worker pool for Shopware, combined with a CDN and HTTP/3, delivers the best results. Our hosting solutions are already optimized for PHP 8.5 and Shopware 6.

Property Hooks and Pipe Operator in Practice

Beyond performance improvements, PHP 8.5 introduces language features that make daily development work significantly more productive. Property hooks replace repetitive getter/setter methods, and the pipe operator makes nested function calls readable.

PropertyHooksExample.php
// PHP 8.5: Property hooks replace getters/setters
class Product {
    public string $name {
        set(string $value) => $this->name = trim($value);
    }
    
    public int $price {
        get => $this->price;
        set(int $value) {
            if ($value < 0) throw new \InvalidArgumentException();
            $this->price = $value;
        }
    }
}

// PHP 8.5: Pipe operator for readable pipelines
$result = $input
    |> htmlspecialchars(...)
    |> strtolower(...)
    |> trim(...);

For Shopware plugins, these features mean: less code with the same functionality, better maintainability, and fewer error sources. Asymmetric visibility (public private(set)) also enables cleaner API designs where properties can be read externally but only set internally - ideal for entity classes in Shopware.

Impact on SEO and Core Web Vitals

PHP performance directly impacts search engine optimization. Since 2021, Google has evaluated Core Web Vitals as a ranking factor, where Largest Contentful Paint (LCP) and Time to First Byte (TTFB) are heavily influenced by server-side processing speed. Improving TTFB from 185 ms to 134 ms (-28%) can improve LCP values by 200-400 ms (web.dev).

Studies show that a 100 ms improvement in load time can increase conversion rates by up to 1.11% (Akamai). For a shop with 100,000 monthly visitors and an average cart value of EUR 80, this can translate to additional annual revenue in the five-figure range. The PHP 8.5 migration is therefore not just a technical upgrade but an investment in your e-commerce success.

Measurable results

After a PHP 8.5 migration, Shopware shops typically see a Lighthouse Performance score improvement of 5-12 points - especially for shops with complex product listings and many variants.

Migration Checklist for Shop Operators

The following checklist summarizes all steps to be carried out before, during, and after the PHP 8.5 migration. Use this list as the basis for your planning - or contact us to have us handle the migration professionally.

  • Database, files, and configuration backup created
  • Shopware updated to version 6.7.7 or higher
  • All plugins checked for PHP 8.5 compatibility (composer why-not, PHPStan)
  • Staging environment with PHP 8.5 set up and tested
  • Deprecated functions in custom code replaced
  • OPcache and JIT configuration optimized for PHP 8.5
  • Checkout and payment processes manually tested on staging
  • Performance benchmark measured before and after migration
  • Rollback plan documented (PHP version can be switched back quickly)
  • Error monitoring set up for the first 48 hours after go-live

This is what your electronics shop could look like:

Consumer ElectronicsDemo

Elektronik-Shop

This design example shows what a high-performance electronics shop with fast product search and optimized load times can look like. We develop custom shop solutions with maximum performance.
Shopware 6ElasticsearchPHP 8.5Performance
Discuss your project
Demo

For official PHP 8.5 support, you need at least Shopware 6.7.7, released in February 2026. Older Shopware versions such as 6.6.x or 6.5.x do not support PHP 8.5 and must be updated first. Contact us for an assessment of your update effort.

Benchmarks typically show 10-15% more requests per second, a 12% improved TTFB, and approximately 8% lower memory usage compared to PHP 8.3 (PHP Foundation / Phoronix). Actual values depend on your shop configuration, product count, and installed plugins.

Not automatically. In our experience, approximately 75-80% of actively maintained plugins are compatible within 3 months of the PHP release (Shopware Community Survey). We recommend performing a systematic compatibility check using Composer, PHPStan, and Rector before the migration and contacting vendors for critical plugins.

A well-prepared migration typically takes 2-4 weeks - from analysis through staging to production deployment. Shops with many custom plugins or proprietary code tend to need more time for compatibility adjustments. The actual server switch itself can be completed within minutes.

A rollback to the previous PHP version is typically possible within minutes and requires no code changes. We recommend preparing a documented rollback plan and performing the migration outside peak business hours. For our hosting clients, we monitor the migration and can intervene immediately if needed.

The PHP 8.5 migration is worthwhile for shops of any size. Smaller shops benefit primarily from lower memory consumption, which enables more affordable hosting plans, and from faster load times that improve SEO rankings. Additionally, PHP 8.1 will only receive security updates until November 2026 - a migration will become necessary regardless.

Sources and studies

This article is based on data from the PHP Foundation, Phoronix Benchmark Suite, W3Techs, Shopware AG, Shopware Release Notes, web.dev (Google), Google/SOASTA, HTTP Archive, Akamai Performance Reports, and the Shopware Community Survey. The cited benchmarks and performance figures may vary depending on server configuration and shop setup.

PHP 8.5 migration for your Shopware shop?

We analyze your shop, check plugin compatibility, and carry out the migration safely - with performance optimization and monitoring.

Request migration