Architecture

How a Laravel request flows from browser to response — entirely on Cloudflare's network.

Browser

Client

Your visitor's browser makes a request. Inertia handles client-side navigation after the first load.

Cloudflare Edge

Edge (300+ locations)

Static assets (CSS, JS, images) are served directly from Cloudflare's edge network — fast and cheap.

Cloudflare Worker

Worker (V8 isolate)

Dynamic requests hit a Worker that initializes the PHP WASM runtime and executes your Laravel app.

PHP WASM Runtime

Inside Worker

Full PHP 8.5 compiled to WebAssembly. OPcache persists compiled opcodes across requests within the same isolate.

Laravel Framework

Inside PHP WASM

Your complete Laravel application — routing, controllers, Blade, Eloquent, middleware — all running in WASM.

Runtime Details

PHP Version
8.5.2
SAPI
cgi-fcgi
OPcache
Enabled
Inertia
v2.0.21

PHP Extensions (18)

CoredatepcrehashjsonlexborZend OPcacheuriSPLPDOpdo_cfd1pibrandomReflectionsessionstandardvrznocgi-fcgi
Powered by Laraworker
Laravel on Cloudflare Workers via PHP WebAssembly