HttpArena
Frameworks

PHP web framework benchmarks

The fastest PHP web framework in HttpArena is true-async-server, with a composite of 880 on HTTP/1.1 — 2 of 97 against every language in its league. Measured over Alpha Round, every entry on the same machine. This is a tuned entry.

Every PHP entry in the benchmark, compared on the composite score of each family. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 100. Rank overall is the entry's place in its own league across all languages; rank among PHP narrows the same field to this language. Both link through to the board view they were taken in. How the score works.

Composite scores compare directly across every row. Ranks do not always share a field: a tuned entry has no place in the standard-only ranking, so its rank is taken from the field that includes tuned entries and counts more of them.

HTTP/1.1

FrameworkTypeCompositeRank overallRank among PHP
true-async-serverEmerging tuned8802 of 971 of 12
swooleFlagship tuned7077 of 972 of 12
ngx-phpEmerging tuned67910 of 973 of 12
markEmerging6065 of 711 of 6
workermanFlagship5767 of 712 of 6
php-fpmFlagship27829 of 713 of 6
symfony-spawn-tasEmerging tuned20655 of 977 of 12
frankenphp-trueasyncEmerging tuned16367 of 978 of 12
hyperfFlagship15849 of 714 of 6
symfony-spawn-frankenEmerging tuned15772 of 9710 of 12
laravelFlagship4369 of 715 of 6
slimFlagship3870 of 716 of 6

HTTP/2

FrameworkTypeCompositeRank overallRank among PHP
true-async-serverEmerging tuned3321 of 291 of 7
ngx-phpEmerging tuned1228 of 292 of 7
php-fpmFlagship835 of 163 of 7
swooleFlagship tuned6815 of 294 of 7
frankenphp-trueasyncEmerging tuned2424 of 295 of 7
symfony-spawn-frankenEmerging tuned827 of 296 of 7
symfony-spawn-tasEmerging tuned729 of 297 of 7

HTTP/3

FrameworkTypeCompositeRank overallRank among PHP
ngx-phpEmerging tuned2001 of 121 of 4
php-fpmFlagship1011 of 62 of 4
frankenphp-trueasyncEmerging tuned338 of 123 of 4
symfony-spawn-frankenEmerging tuned289 of 124 of 4

WebSocket

FrameworkTypeCompositeRank overallRank among PHP
swooleFlagship tuned7911 of 321 of 3
workerman-websocketFlagship757 of 201 of 2
hyperfFlagship1020 of 202 of 2

Questions

What is the fastest PHP web framework?

true-async-server leads the PHP entries in HttpArena with a composite score of 880 on HTTP/1.1, measured over Alpha Round. The composite sums a normalized score across the profiles of a family, where the leader of each profile scores 100. Against every language, true-async-server ranks 2 of 97 in its own league. It is a tuned entry, so it is ranked in the field that includes tuned configurations.

What is the fastest PHP HTTP/2 server?

true-async-server, with a composite of 332 on HTTP/2 and 1 of 29 against all languages in its league.

What is the fastest PHP HTTP/3 server?

ngx-php, with a composite of 200 on HTTP/3 and 1 of 12 against all languages in its league.

What is the fastest PHP WebSocket server?

swoole, with a composite of 79 on WebSocket and 11 of 32 against all languages in its league.

How many PHP web frameworks are benchmarked?

13 PHP entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.

Is PHP fast for web servers?

The quickest PHP entry, true-async-server, places 2 of 97 on HTTP/1.1 across every language in its league, so that placing is the honest answer for PHP at its best rather than for PHP in general. The tables below show the spread across all 13 entries.

Every PHP entry

Alpha Round · All languages · Open the leaderboard