BenchKit for Laravel is an open source and containerized Laravel application to help you understand
50K+
BenchKit is a free and open source Laravel application that shows you how performance changes across hosts, hardware, and PHP configurations. You run it on the server you want to measure, and it reports what that machine does with a Laravel workload.
It's a standalone app rather than a package you install. Spin it up, run a benchmark, share the result, then throw it away. Your own codebase is never involved.
| Stage | Tool | What it measures |
|---|---|---|
| Hardware | YABS | CPU and disk, through Geekbench and fio |
| Network | cfspeedtest | Latency and bandwidth to Cloudflare |
| Web server load | oha | Max throughput and response time, per route |
| PHP and database | phpbench | Timing for individual PHP and database operations |
Every run measures the same way — probe, sweep to the top, then hold a steady rate below it — which is what makes it meaningful to put your numbers next to somebody else's.
You need a server and Docker. Nothing else.
# Install Docker (skip if you already have it)
curl -fsSL https://get.docker.com | bash
# Start BenchKit
docker run -p 80:8080 \
-v benchkit-runs:/var/www/html/storage/app/runs \
serversideup/benchkit-laravel:latest
Open http://<your-server-ip>/ in your browser and press Start Benchmark.
A few things worth knowing:
The same application ships on three web servers, so any difference between two runs comes from the server rather than the code. The tag you pull decides which one you get.
| Variation | How PHP is served | Tag |
|---|---|---|
| FPM-NGINX | nginx hands PHP requests to PHP-FPM | latest |
| FrankenPHP | One binary serves PHP directly | frankenphp |
| FPM-Apache | Apache hands PHP requests to PHP-FPM | fpm-apache |
Run each one on the same machine, then open the runs side by side in Compare. FrankenPHP also runs in Octane worker mode from the same image, which is the cleanest comparison the tool can make.
The community results gallery collects real runs across different hosts, hardware, and PHP configurations. Adding yours is how the next person finds a machine like the one they're considering.
Press Submit result when a run finishes. BenchKit shows you the exact document first, then opens a pre-filled GitHub issue. A bot validates it and opens a pull request. Submitting is optional, and BenchKit never sends anything anywhere on its own.
You can also share a run as an image on X with #BenchKit.
What gets published, and what never does →
📚 Full documentation lives at serversideup.net/open-source/benchkit.
The documentation source lives in the
docs/ directory — a standalone Nuxt site deployed to Cloudflare Pages.
Spin is an open source tool built by Server Side Up to help you run Docker from development → production. Spin is language agnostic, so you can use it with any language but we also provide official templates. This project was powered by Spin Pro, which offers additional features for Laravel power users.
As an open-source project, we strive for transparency and collaboration in our development process. We greatly appreciate any contributions members of our community can provide. Whether you're fixing bugs, proposing features, improving documentation, or spreading awareness - your involvement strengthens the project. Please review our contribution guidelines and code of conduct to understand how we work together respectfully.
docs/content directory.Need help getting started? Join our Discord community and we'll help you out!
All of our software is free an open to the world. None of this can be brought to you without the financial backing of our sponsors.
This project takes an incredible amount of computing power to build and maintain over 8,000 different docker image tags. We're extremely grateful for the following sponsors who help bring the power to ship more PHP.
Get two senior Laravel experts who deliver quality code with predictable monthly pricing.
The creators of Server Side Up (Dan and Jay) are available for hire with 30+ years of combined experience building scalable Laravel applications.
If you appreciate this project, be sure to check out our other projects.
Content type
Image
Digest
sha256:b471c1f24…
Size
272.2 MB
Last updated
22 days ago
docker pull serversideup/benchkit-laravelPulls:
1,279
Last week