~ / AI Research / Serverless PHP Market Analysis

Serverless PHP Market Analysis

Comprehensive analysis of the serverless PHP ecosystem — every major player with revenue, funding, pricing, and technical approach. Covers the $26–32B serverless computing market intersecting with PHP’s 74% web dominance, the Laravel ecosystem ($57M Series A, 90 employees, $10M+ annual product revenue), Bref (44B+ monthly Lambda invocations), FrankenPHP (10K+ GitHub stars, PHP Foundation-backed), Laravel Cloud (launched February 2025), PHP-WASM/WordPress Playground, and the competitive landscape from shared hosting to edge computing.

The core thesis: PHP powers 74% of server-side web but remains underserved by modern serverless infrastructure. The gap between PHP’s massive installed base and the immaturity of its serverless tooling represents a significant market opportunity — one that Laravel ($57M Series A), Bref (44B invocations/month), and FrankenPHP (PHP Foundation-backed) are racing to fill from different angles.



1. PHP Market Context

Market Share & Usage

PHP remains the dominant server-side language on the web by a wide margin, despite years of “PHP is dead” narrative:

The “PHP Is Dead” Narrative vs. Reality

The disconnect is real: PHP dominates web infrastructure but has declining mindshare among new developers.

PHP Version Adoption

PHP 8.x Performance Improvements

Laravel’s Dominance in PHP Frameworks

Symfony’s Position

PHP Developer Salary Data

Region Average Annual Salary
United States$107,200–$107,700
United Kingdom$47,000–$75,000
Germany$54,000–$75,000
France$49,000–$73,000
Italy$40,000–$59,000
Poland$44,000–$48,000
Eastern Europe$48,000–$54,500
Global remote average$65,613
US entry-level$50,000–$70,000
US senior$140,000–$190,000+

2. The Serverless Computing Market

The serverless computing market is growing rapidly, though estimates vary significantly across research firms:

Source 2025 Market Size 2026 Projected CAGR Long-term Target
Precedence Research $28.0B $32.0B 14.2% $92.2B by 2034
GM Insights $18.2B $22.5B 24.1% $156.9B by 2035
Mordor Intelligence $26.5B $32.6B ~23%
Straits Research $25.3B 15.3% $90.9B by 2033
MRFR $31.8B 24.9% $235.6B by 2034

Conservative estimate: The serverless computing market is roughly $25–32B in 2025, growing at 15–25% CAGR. Even the most conservative estimate puts it at $90B+ by the early 2030s.

PHP’s slice: If PHP powers 74% of server-side web, even capturing 5–10% of the serverless market would represent a $1.3–3.2B opportunity. Today, the PHP serverless ecosystem is a tiny fraction of this.


3. Bref Deep Dive

Overview

Bref is an open-source framework to write and deploy serverless PHP applications on AWS Lambda. Created in 2018 by Matthieu Napoli, an AWS Serverless Hero, Bref provides PHP runtimes for Lambda distributed as Lambda layers and Docker images.

Key Statistics

Architecture

Bref provides two main runtime approaches:

FPM Layer (php-8x-fpm)
Uses PHP-FPM to run web applications on AWS Lambda. Best for existing web apps, WordPress, Laravel, Symfony. The most common approach for lift-and-shift migrations.
Function Layer (php-8x)
Runs PHP as a Lambda function handler. Best for event-driven workloads, queue processing, cron jobs, and API endpoints. More “serverless native.”

Supports PHP 8.2–8.4 via Lambda layers, with PHP 8.5 support coming. Supports both x86 and arm64 platforms on Amazon Linux 2023.

Cold Start Performance

Pricing & Business Model

Bref (open source): Free. MIT licensed. Bref itself costs nothing — you pay only for AWS Lambda, API Gateway, and other AWS services consumed.

Bref Cloud: A managed dashboard/deployment tool that deploys to your AWS account with zero markup on AWS prices. Bref Cloud handles deployment, monitoring, and permissions management. With serverless pay-as-you-go pricing, your hosting bill from AWS could be as low as $0 if your app has no traffic.

Consulting & Training: Matthieu Napoli created a company called Null to provide consulting services and training around Bref and serverless PHP.

Matthieu Napoli Background

Companies Using Bref in Production

Treezor (banking-as-a-service)
Serves millions of transactions daily for neobanks, employee benefit cards, travel cards. Migrated legacy PHP to Lambda via Bref. Results: 2.5x faster response times, 3x fewer production alerts, 10x fewer transaction timeouts.
MyBuilder (marketplace)
Online marketplace matching tradespeople with homeowners. Uses Lambda + Bref for scalable PDF generation microservice.
Voxie
Sponsors Bref; uses it as the foundation for building scalable products on AWS Lambda.

4. Laravel Vapor Deep Dive

Overview

Laravel Vapor is an auto-scaling serverless deployment platform for Laravel, powered by AWS Lambda. Launched in 2019 by Taylor Otwell / Laravel LLC. It provisions and manages the full AWS infrastructure (VPCs, security groups, IAM roles, Lambda, API Gateway, S3, RDS, ElastiCache, DynamoDB) through an intuitive dashboard.

Pricing

Key Features

Vapor vs. Bref Comparison

Aspect Laravel Vapor Bref
Framework lock-in Laravel only Any PHP framework (Laravel, Symfony, WordPress, custom)
Infrastructure control Managed — Vapor controls your AWS account You control everything — open-source tooling
Security model Vapor API has admin access to databases and env vars You manage all credentials directly
Configuration Convention over configuration, less flexibility More granular control via serverless.yml / SAM / CDK
Enterprise support No dedicated enterprise support Consulting available through Null
Pricing $39/month + AWS costs Free (open source) or Bref Cloud + AWS costs
Best for Laravel teams wanting zero-config serverless Teams wanting control, non-Laravel PHP, security-sensitive orgs

5. Laravel Cloud

Timeline

How It Differs from Vapor

Laravel Cloud is not serverless. It’s a fully managed container-based platform:

Pricing

Plan Monthly Fee Compute Database
Sandbox $0 From $0.01/hr From $0.04/hr (serverless Postgres)
Production $20/month Usage discounts Usage discounts
Enterprise Custom Custom Custom

Competitive Positioning

Laravel Cloud is the evolution of Forge, not Vapor. Where Forge lets you bring your own infrastructure, Cloud runs everything for you. Where Vapor is serverless on Lambda, Cloud is containers with auto-scaling. The positioning is: simpler operational model, predictable performance, clearer pricing.

Early traction: PyleSoft reported cutting infrastructure costs 50% migrating from Vapor to Cloud.


6. The Laravel Ecosystem & “Laravel Tax”

Taylor Otwell’s Business Model

Taylor Otwell built one of the most successful open-source business models in PHP history. Key facts:

Product Portfolio & Pricing

Product Category Pricing Revenue Estimate
Laravel Forge Server management $12–$39/month ~$2M+/year
Laravel Vapor Serverless deployment $39/month + AWS Undisclosed
Laravel Cloud Managed hosting $0–$20/month + usage New (Feb 2025)
Laravel Envoyer Zero-downtime deployment $10–$50/month ~$500K/year
Laravel Nova Admin panel $99–$299 (license) $1M+ lifetime
Laravel Spark SaaS billing scaffolding $99–$299 (license) $1M+ lifetime
Laravel Herd Local dev environment Free / $99 Pro Undisclosed

The “Laravel Tax”

The Laravel ecosystem charges for almost every layer of the development lifecycle. A typical Laravel project’s monthly “tax”:

NativePHP

NativePHP, developed by Simon Hamp and Marcel Pociot, transforms Laravel applications into native desktop (Windows, macOS, Linux) and mobile apps. In 2025, it expanded to iOS, with a published App Store application powered by Laravel, Livewire, Tailwind, and PHP — running the PHP engine compiled in C, embedded directly in the app (not a WebView or PWA).


7. FrankenPHP Deep Dive

Overview

FrankenPHP is a modern PHP application server built on top of the Caddy web server. Written in Go, it embeds the PHP interpreter as a Caddy module, delivering a fundamentally different approach to running PHP applications.

Key Statistics

Kévin Dunglas & Les-Tilleuls.coop

Key Features

Worker Mode
Keeps PHP application in memory between requests (like Swoole/RoadRunner). Results: 80% reduction in response times (Sylius benchmark), 6x fewer machines needed for the same traffic, >10x faster than Nginx+PHP-FPM under 1,000 concurrent requests. Laravel, Symfony, and Yii have official worker mode integrations.
103 Early Hints
Send resource hints to the browser before the response is ready — the browser starts loading CSS, JS, and fonts while PHP generates the page. FrankenPHP is one of the first PHP servers to support this HTTP feature.
HTTP/2 and HTTP/3
Built-in support via Caddy, including QUIC protocol for HTTP/3.
Automatic HTTPS
Caddy’s automatic certificate generation and renewal works out of the box.
Zstandard Compression
Modern compression algorithm support alongside Brotli and gzip.
Hot Reload (v1.11, December 2025)
File monitoring with automatic worker restart in the background.
Thread Autoscaling (v1.6, May 2025)
Automatically spawns additional threads at runtime up to a specified limit.
Standalone Binaries
PHP and Symfony apps can be compiled as standalone static binaries.

Performance Benchmarks

How FrankenPHP Changes PHP Deployment

FrankenPHP represents a paradigm shift from the traditional Nginx/Apache + PHP-FPM stack to a single-binary application server approach. It enables PHP applications to be:


8. Cloud Provider PHP Support

AWS Lambda

Google Cloud Functions / Cloud Run

Azure Functions

Cloudflare Workers

Vercel


9. PHP-WASM & Future Directions

WordPress Playground

WordPress Playground runs a complete WordPress installation in the browser via WebAssembly PHP — no server needed. This is the most ambitious and successful PHP-WASM project.

seanmorris/php-wasm

The original PHP-to-WebAssembly project that WordPress Playground forked and extended.

Implications for Serverless


10. Managed PHP Hosting Landscape

These platforms are not serverless but represent the competitive landscape for PHP deployment:

Server Management Tools

Platform Pricing Key Differentiator
Laravel Forge $12–$39/month Official Laravel tool. ~$2M+/year revenue. BYOS (bring your own server).
Ploi From $9/month Cheaper Forge alternative. Features in mid-tier that require Forge premium. Built-in Envoyer-like functionality.
RunCloud From $6.67/month Cheapest option. Best web panel. Git deployment, firewall, database management. Supports DigitalOcean, AWS, Google Cloud.
Cleavr From $7/month Beyond PHP: supports NodeJS, Adonis, Nuxt, Strapi. Multi-framework approach.
ServerPilot From $5/month Oldest in the category. Fastest server deployment but lacks Git deployment and scheduling. Minimal features.

Traditional Hosting Market Shift


11. WordPress-Specific Hosting

Company Revenue Funding/Valuation Customers Key Facts
WP Engine $400M (2024) $414M raised; $444M+ valuation 120,000 Powers 1.5M WordPress sites. Investors include Silver Lake. 5 acquisitions (latest: Big Bite, Jan 2026). Starting at ~$15/month.
Kinsta $21–$37M (estimates vary) Mostly bootstrapped; McCarthy Capital investment 230,000+ businesses Founded 2013. 212 employees. Google Cloud infrastructure. Clients include TripAdvisor, Hootsuite, Indeed. Starting at $35/month.
Cloudways $52M+ (2022, at acquisition) Acquired by DigitalOcean for $350M (Aug 2022) Part of DigitalOcean’s 124K+ paying customers 50%+ CAGR (3-year). Pay-as-you-go model based on server resources, not site count. No visitor caps.
Pantheon $123.9M (2024) $198M raised; $1B+ valuation (Series E from SoftBank) 12,000+ businesses; 285,000 websites WordPress + Drupal. Plans from $50/month. 99.95–99.99% availability SLA.

Market size indicator: WP Engine alone does $400M/year in WordPress hosting revenue. The managed WordPress hosting market is likely $1–2B+ annually when including all players.


12. Container & PaaS Platforms

Platform.sh / Upsun

Fly.io

Railway

Render


13. Deployment Tools & Frameworks

Serverless Framework

AWS SAM (Serverless Application Model)

AWS CDK (Cloud Development Kit)

Terraform


14. Technical Challenges of Serverless PHP

Cold Starts

PHP bootstrap time
Bref base cold start: ~250ms. Laravel adds 200–500ms. Total: 450–750ms for a typical Laravel app. By comparison, Node.js cold starts are 100–300ms.
OPcache
PHP 8.5’s opcache.file_cache_read_only is a game-changer for Lambda, enabling file-based opcode caching on read-only filesystems. ~100ms improvement.
Preloading
OPcache preloading does NOT help on Lambda — it shifts cold start time to boot time with no net gain. This is a common misconception.
Provisioned concurrency
AWS Lambda’s provisioned concurrency can eliminate cold starts but adds cost (~$0.015/GB-hour).

Database Connections

Connection exhaustion
Each Lambda invocation can create a new database connection. 1,000 concurrent users means 1,000 database connections — most databases cannot handle this.
Connection pooling
RDS Proxy ($0.015/vCPU-hour) pools connections between Lambda and RDS. Essential for serverless PHP at scale.
Connection leaking
Pool client idle timeouts don’t fire while Lambda is suspended between invocations, causing “leaked” connections. Aurora cold starts add 100–300ms for new connections.
Serverless databases
Neon (serverless Postgres, used by Laravel Cloud), PlanetScale (serverless MySQL), and DynamoDB avoid connection pooling issues entirely with HTTP-based protocols.

Stateless Constraints

Sessions
No local session storage. Must use DynamoDB, Redis (ElastiCache), or database-backed sessions.
File uploads
Lambda has a 6MB payload limit for synchronous invocations. Large uploads must go directly to S3 via pre-signed URLs.
WebSockets
Lambda doesn’t maintain persistent connections. Use API Gateway WebSocket API with Lambda handlers for pseudo-WebSocket support.
File system
Read-only filesystem except /tmp (512MB by default, configurable up to 10GB). All persistent storage must use S3 or EFS.

Execution Limits

PHP Extensions

Vendor Lock-in


15. Master Comparison Table

Platform Type PHP Support Pricing Revenue/Funding Best For
Bref Serverless (Lambda) PHP 8.2–8.4, any framework Free (OSS) + AWS costs 44B invocations/mo, 9.2M installs Any PHP on Lambda, open-source, control-focused teams
Bref Cloud Managed serverless Same as Bref $0 markup on AWS Part of Bref ecosystem Bref users wanting dashboard/deployment tooling
Laravel Vapor Serverless (Lambda) Laravel only $39/mo + AWS Part of Laravel ($57M Series A) Laravel teams, zero-config serverless
Laravel Cloud Managed containers Laravel only $0–$20/mo + usage Part of Laravel ($57M Series A) Laravel teams wanting simplicity, no cold starts
Laravel Forge Server management PHP, BYOS $12–$39/mo ~$2M+/year revenue Self-managed VPS, full control
FrankenPHP App server Any PHP framework Free (OSS) 10K+ GitHub stars, PHP Foundation High-performance PHP, worker mode, containers
Google Cloud Run Managed containers PHP 8.3 GA, 8.4–8.5 preview Pay-per-use Part of GCP Container PHP on Google Cloud
Platform.sh / Upsun PaaS PHP, many frameworks Usage-based (Upsun) / fixed (Platform.sh) $187M raised, Morgan Stanley-backed Enterprise PHP, Symfony, Magento, Drupal
Fly.io Container platform PHP via Docker, Laravel support Pay-per-use $116M+ raised Multi-region PHP apps, edge containers
WP Engine Managed WordPress WordPress only From ~$15/mo $400M revenue, $414M raised Enterprise WordPress at scale
Pantheon Managed WordPress/Drupal WordPress + Drupal From $50/mo $123.9M revenue, $198M raised, $1B+ val Enterprise CMS hosting
Vercel (community) Serverless PHP 8.4–8.5 via community runtime Vercel pricing Part of Vercel ($3.5B+ val) Lightweight PHP APIs alongside frontend
Azure Functions Serverless PHP 8.2 via custom handlers (limited) Pay-per-use Part of Azure Azure-locked shops (not recommended for PHP)

16. Market Opportunities & Bootstrapper Plays

Gap Analysis: What’s Missing

  1. No framework-agnostic managed serverless PHP platform. Vapor is Laravel-only. Bref Cloud is nascent. There’s no “Vercel for PHP” that supports Symfony, WordPress, CakePHP, and custom PHP apps with a polished UI.
  2. No edge computing for PHP. PHP cannot run on Cloudflare Workers, Vercel Edge Functions, or Deno Deploy. The WASM path exists but is immature. This is a fundamental gap.
  3. No serverless WordPress hosting. WordPress is 42.8% of all websites but has zero true serverless hosting options. WP Engine ($400M revenue) runs traditional containers. Bref can technically run WordPress on Lambda, but it’s not turnkey.
  4. Weak Azure and multi-cloud story. PHP serverless is almost exclusively an AWS story. Azure’s PHP support is poor. No good multi-cloud serverless PHP solution exists.
  5. Connection pooling is still painful. RDS Proxy helps but adds cost. There’s no purpose-built connection pooler for serverless PHP (like Neon’s pooler for Postgres or PgBouncer).
  6. No good monitoring/observability for serverless PHP. Lambda monitoring tools are generic. There’s no Datadog/New Relic specifically optimized for PHP on Lambda (cold start tracking, OPcache metrics, extension performance).

Bootstrapper Opportunities

Opportunity 1: “Vercel for PHP” — Framework-Agnostic Serverless PHP Platform

Build a managed serverless PHP platform that supports any PHP framework (not just Laravel). Target the 36% of PHP developers who don’t use Laravel — Symfony (14%), WordPress, CakePHP, CodeIgniter, and custom PHP users.

  • Built on: Bref runtimes (open source), deployed to customer’s AWS account
  • Differentiator: Framework detection, auto-configuration, polished dashboard
  • Pricing: $19–$49/month + AWS costs (competing with Vapor’s $39)
  • TAM: ~150,000 companies using non-Laravel PHP that want modern deployment
  • Risk: Bref Cloud could expand to fill this gap
Opportunity 2: Serverless WordPress Hosting

WP Engine does $400M/year hosting WordPress on containers. A serverless WordPress offering could undercut on price (pay-per-request vs. fixed monthly) while matching on performance.

  • Built on: Bref + WordPress on Lambda
  • Differentiator: True pay-per-request pricing ($0 for idle sites), auto-scaling, no server management
  • Target: Agencies managing 50–200 WordPress sites (most are low-traffic)
  • Pricing: $0 base + usage (most sites would cost $2–$10/month vs. $15–$50)
  • Challenge: WordPress plugins assume a persistent filesystem and writable directories
Opportunity 3: PHP Connection Pooler as a Service

A dedicated connection pooling service for serverless PHP, similar to what PgBouncer does for PostgreSQL but purpose-built for Lambda + PHP.

  • Problem: RDS Proxy costs $0.015/vCPU-hour and is AWS-only
  • Solution: Lightweight proxy service that pools connections for multiple PHP apps
  • Pricing: $9–$29/month per database
  • Market: Every Bref and Vapor user hitting connection limits
Opportunity 4: PHP Serverless Monitoring Tool

A monitoring/observability tool specifically designed for PHP on Lambda: cold start tracking, OPcache hit rates, extension load times, memory usage patterns, connection pool status.

  • Competitors: Tideways ($99+/month, traditional PHP), Blackfire (Symfony-focused), generic AWS tools
  • Pricing: $29–$99/month
  • Differentiator: Serverless-native, Lambda-specific insights, cold start optimization recommendations
Opportunity 5: FrankenPHP Managed Hosting

FrankenPHP is gaining rapid adoption (10K+ stars, PHP Foundation backing) but has no managed hosting platform. Build a one-click FrankenPHP deployment service.

  • Target: Developers moving from Nginx+PHP-FPM to FrankenPHP for worker mode performance
  • Built on: Fly.io, Railway, or custom infrastructure
  • Pricing: $10–$30/month (competing with Forge at $12–$39)
  • Differentiator: FrankenPHP-native, worker mode optimization, Early Hints configuration
Opportunity 6: Ploi/RunCloud for Serverless

Forge alternatives (Ploi at $9/month, RunCloud at $6.67/month) have proven that a cheaper Laravel Forge competitor can win market share. Apply the same model to Vapor: build a cheaper alternative to Laravel Vapor.

  • Pricing: $15–$19/month vs. Vapor’s $39
  • Built on: Bref runtimes (free, open source)
  • Differentiator: 50–60% cheaper than Vapor, support for more frameworks
  • Precedent: Ploi and RunCloud proved the “cheaper Forge” market exists

Revenue Benchmarks


17. Conclusions

Key Takeaways

  1. PHP is not dying, but its growth is in infrastructure, not adoption. 74% of server-side web runs PHP, but only 18% of developers actively choose it. The opportunity is in modernizing how existing PHP runs, not in convincing new developers to adopt PHP.
  2. Laravel has won the PHP framework war and is building an empire. With 64% framework market share, $57M in VC funding, 90 employees, and a product portfolio generating $10M+/year, Laravel LLC is the dominant commercial force in PHP. Laravel Cloud’s launch signals a shift from tools (Forge, Vapor) to platform (Cloud).
  3. Bref is the quiet giant of serverless PHP. 44 billion Lambda invocations per month (1 in every 1,000 AWS Lambda invocations worldwide) with 300% YoY growth. Open-source, framework-agnostic, and increasingly the de facto standard for PHP on Lambda — even Vapor uses similar underlying AWS infrastructure.
  4. FrankenPHP is changing the PHP runtime landscape. PHP Foundation backing, 10K+ GitHub stars, worker mode delivering 10x performance improvements, and an approach that could make Nginx+PHP-FPM obsolete. The single-binary deployment model is particularly compelling for containerized environments.
  5. The serverless PHP market is AWS-centric with major gaps elsewhere. Google Cloud has decent PHP support. Azure’s is poor. Cloudflare Workers doesn’t support PHP at all. Edge computing for PHP is effectively non-existent. Multi-cloud serverless PHP is not a solved problem.
  6. WordPress is the elephant in the room. 42.8% of all websites, $400M+ in managed hosting revenue (WP Engine alone), yet zero true serverless offerings. PHP-WASM/WordPress Playground proves PHP can run in novel environments, but the gap between “runs in a browser” and “production-grade serverless WordPress” is enormous.
  7. The bootstrapper opportunity is real but narrow. The “Laravel tax” creates pricing room for alternatives (Ploi and RunCloud proved this). The serverless layer adds new niches: framework-agnostic managed serverless, PHP-specific monitoring, connection pooling services, FrankenPHP managed hosting. Revenue ceilings may be lower than pure SaaS plays — PHP developer tooling is a $10M–$100M market, not a $1B one.
  8. The future of PHP deployment is converging on containers + auto-scaling, not pure serverless. Laravel Cloud (containers), FrankenPHP (worker mode), and Google Cloud Run all point to a future where PHP apps run in optimized containers with auto-scaling — rather than the Lambda/cold-start model. Serverless (Lambda) may be a transitional architecture for PHP, with FrankenPHP worker mode in containers delivering better performance characteristics.

The Numbers That Matter

Metric Value
PHP web market share74.5%
WordPress market share42.8% of all websites
Laravel framework share60–64% of PHP frameworks
Bref monthly invocations44.3 billion
Laravel Series A$57M from Accel
Laravel team size90 employees
FrankenPHP GitHub stars10,000+
WP Engine annual revenue$400M
Pantheon annual revenue$123.9M
Platform.sh total funding$187M
Serverless market size (2025)$25–32B
Serverless market CAGR15–25%
PHP developer avg. salary (US)$107K
PHP developers worldwide~5–6 million estimated