Type at least 3 letters to search

·13 min read

Laravel Rust on a Real Project: The MEDPRESSO Home Page, Rebuilt the Day After Launch

A silver stethoscope coiled around a chrome stopwatch with a red second hand on a white desk, with the title Released Tuesday, Tested Wednesday, Laravel Rust on a real project

Laravel announced Laravel Rust on Tuesday, 1 December 2026. By Wednesday we had the home page of MEDPRESSO, the medical education platform we built in 2020, running on it, with new business logic and a new design, measured against the live site. Here is what we changed and why, what the numbers show, and where Rust really helps and where it does not.

MEDPRESSO is an international platform for continuing medical education and medical news. Physicians come to it for modules with certificates, video lectures, webinars, summaries of clinical guidelines and a calendar of medical congresses, in English, Spanish, Ukrainian and Russian. We built the platform in 2020, and its story is told in our MEDPRESSO case and in the portfolio.

This prototype is not an order and not a sales pitch. We stay with our clients from start to finish, and part of that is showing them the right direction before anyone spends money on a rebuild. The point of the exercise was the business logic of the page, the timing of a decision MEDPRESSO has to make now, and a first-hand test of a technology that was one day old.

The first screen of medpresso.org built with React over a Laravel API next to the Laravel Rust prototype with three banners for the platform, paid education and a clinical guideline
The first screen today and in the Laravel Rust prototype

THE 2020 BUILD

What we built in 2020, and what came after

The current medpresso.org is a React application over a Laravel API. In 2020 that was the right choice: physicians spend time inside their account, move between modules, tests and certificates, and an app-like interface suits that work. One API also left the door open for mobile apps.

What happened next is the usual story of a working product. After launch the site was never developed further for search, and the A/B tests and the sales logic that the business needed were never fully put in place. The platform did its job for physicians, while the home page kept showing what the business sells as one item among many.

That is the work we are doing now, and we are doing it in two roles. As PERETZ we look after the product and its development. As The Structure, our technical due diligence practice, we review the business logic with a different question in mind: how attractive is the project to an investor, and how ready is it to sell directly to physicians. It is a long road, and a realistic one.

WHY NOW

Why test Laravel Rust now

MEDPRESSO has a decision on the table: the Laravel under the API needs to move to Laravel 13, which gets security fixes until March 2028. We know that road well; we described taking another platform through six Laravel versions in three days. Before choosing how to rebuild the public pages along with the upgrade, we wanted to know whether a brand new option changes the answer.

Laravel Rust is that option. It takes the ideas Laravel developers know (routes, models, migrations, validation, queues, scheduling, broadcasting, Inertia) and compiles them into one Rust binary built on Axum and Tokio. Models and queries are typed and checked by the compiler. It shipped as a beta, with its own agent skills for AI coding tools. Laravel's own benchmark on Laravel Cloud shows 1,774 requests per second against 97 for the same app in PHP, and 16 MB of memory against 134 MB.

We do not pass vendor benchmarks to clients as facts. When a client asks whether they should look at something new, the honest answer comes from our own build on their own content, so we built one the day after the release.

A vendor benchmark is a promise. A client page is a test.

BUSINESS LOGIC

The page starts from the business

On the current home page the paid modules and video lectures sit in a "Content update" column next to the slider, mixed with news. The calendar comes next, then news, Telegram, the community and an SEO text. Everything a physician might want is there, but the products the business earns from do not lead.

We started the new page from a brief, block by block, before any code:

  1. Three banners: the platform as continuous education, paid education, and a current clinical guideline.
  2. Paid education right after them: modules, video lectures, then free modules.
  3. A calendar of congresses and webinars.
  4. The community block, kept as it is on the current site.
  5. The latest publications with a full SEO text and an FAQ.
  6. A Telegram subscription.
  7. A full-width footer with every section of the platform and the payment logos.

Every card answers the buyer's questions before the click. A module shows its price, its length and what it contains: video lectures, article reviews, a self-assessment test. The section states the terms once and plainly: pass with 60%, attempts are unlimited, the certificate downloads at once, access lasts a year. Free modules stay on the page, with a note that they give a certificate too, because for many physicians a free module is the first step towards a paid one.

The calendar gives physicians a reason to come back every week. It shows the major congresses of the next months with the city, the format and labels like "In 12 days", and the webinars sit in a second tab of the same block instead of a separate list. Telegram stays as the platform's own channel, and the payment logos in the footer are there for the moment someone decides to pay.

Whole-page maps of the current medpresso.org home and the Laravel Rust prototype with each block labelled and the paid blocks marked in red
The whole page, block by block: paid education moves from a side column to the first thing after the banners

The Structure side of the review asks what an investor or a partner sees on this page. Where is the product, how is it sold, and can growth be measured? A home page that shows the product with its price, and is built from separate blocks whose order and offers can be tested one at a time, gives clear answers to all three. This is the part of the work that pays off whatever stack runs the page.

The paid product was always on the page. Now it leads.

NAVIGATION

Menus that hold the catalogue

MEDPRESSO has a lot to navigate: modules in several specialties, lectures, webinars, guidelines, clinical cases, physical examination tests, news, events. The new header has two rows, a slim announcement line in MEDPRESSO blue and a main row with paid education first. Its dropdowns are wide, light panels that can hold 20 to 30 links without turning into a wall: the events menu carries the month calendar and the nearest congresses, the modules menu lists every paid and free module with its price.

Navigation compared: the current Education dropdown of medpresso.org and the new Events and Modules mega menus of the prototype with a month calendar and module prices
Navigation: the current Education menu and the new Events and Modules panels
Paid education and the calendar in the prototype: module cards with price, length and contents, video lectures, free modules, and a congress agenda next to a month grid
Paid education with prices and contents, and the calendar of congresses and webinars

The footer follows the same logic as the menus. It lists every section of the platform in full-width columns, carries the legal pages and the payment systems, and gives search engines one more clear map of the site.

The footer of medpresso.org today and the full-width light blue footer of the prototype with every platform section and the payment logos
The footer: every section of the platform and the payment systems in one place

INSIDE LARAVEL RUST

What building on it felt like

For a Laravel developer the first hour is familiar. There is a routes file, handlers, models, migrations, seeders, a .env, and laravel dev runs the app with Vite next to it. The home page handler reads like a Laravel controller written in another language:

let courses = Course::query().order_by(Course::position).get().await?;
let (paid, free): (Vec<_>, Vec<_>) = of_kind("module").into_iter().partition(Course::is_paid);

let upcoming = Congress::query()
    .filter(Congress::ends_on.ge(today))
    .order_by(Congress::starts_on)
    .get()
    .await?;

The difference shows up the moment you make a mistake. A typo in a column name never reaches a browser, because the build stops:

error[E0599]: no associated function or constant named `positon` found for struct `Course`

In PHP the same typo surfaces as an SQL error at runtime, on the page that runs the query. In Laravel Rust it is a compile error, in the second you make it. Across a large platform, that changes how safely a team can refactor.

Views in our project are MiniJinja templates, which use Jinja syntax: {% for %} loops and {{ }} output feel close to Blade, the @ directives are gone. The head of the page is built in code: title, canonical address, description and structured data. The prototype publishes an Organization, an ItemList of courses with their prices and an FAQPage, all generated from the same data the page shows.

The content came from the public MEDPRESSO API into SQLite: 46 courses (modules, lectures and webinars), 10 upcoming congresses and the latest news. The whole application is about 900 lines of Rust, most of them the calendar and the data import.

The development took about six hours, including every round of edits, plus two to three hours of business logic and design. About one working day in total, with an AI coding agent working alongside us; Laravel Rust ships agent skills for exactly that kind of work.

THE NUMBERS

Lighthouse: today and the prototype

We measured both home pages with Lighthouse, three runs each, and took the median. The prototype was measured as a static copy of its rendered page on our hosting, so the figures show the page itself: its HTML, styles, fonts and pictures.

Lighthouse scores, out of 100medpresso.org todayLaravel Rust prototype255075100Performance, mobile55100Performance, desktop74100Accessibility79100Best practices96100
Lighthouse 12.8.2, median of three runs, December 2026. The current home page of medpresso.org against the prototype served as a static copy of its rendered page. SEO is left out: the prototype is closed to indexing on purpose, which is the only SEO check it fails.
Mobile load in seconds, lower is bettermedpresso.org todayLaravel Rust prototype0 s3 s6 s9 sFirst Contentful Paint3.12 s1.14 sLargest Contentful Paint8.69 s1.38 sSpeed Index7.32 s2.27 s
Lighthouse 12.8.2 mobile profile (simulated slow 4G and a four times slower CPU), median of three runs, December 2026.
Measure, mobilemedpresso.org todayPrototype
Page weight2.3 MB227 KB
Requests736
JavaScript files558 KBnone (9 KB inline)
Total Blocking Time305 ms14 ms
Words in the HTML the server sends682,947
Structured data blocksnone3

The last two rows matter for search. The current home page arrives as a short HTML shell with a heading and a list of sections, and the rest is drawn by JavaScript in the browser. Google renders JavaScript, though later and at a cost; most AI crawlers do not run it at all, so they see 68 words. The prototype sends the whole page, with its FAQ and course list, in the first response.

Now the honest part. Rust did not make the browser faster. These scores come from server-rendered HTML, one self-hosted font file of 47 KB, WebP pictures at the sizes the layout needs, no framework JavaScript and lower blocks that the browser draws only when they come near the screen. A Laravel PHP page with Blade, built with the same discipline, would score the same. The prototype also carries no analytics, no account state and no cookie banner yet; a fair final comparison comes after those are added. Which of these fixes matter first on an ordinary site is in Why Is My Website Slow?

The first screen of medpresso.org and of the Laravel Rust prototype on a phone, the prototype opening with the platform banner and the paid education card
On a phone: the largest element of the first screen appears in 1.4 seconds instead of 8.7

The browser does not care which language rendered the HTML.

THE SERVER

What Rust changes on the server

Rust matters where the page is made. We built the release binary and loaded the full home page, 120 KB of HTML from four database queries, with ApacheBench on a 12-core laptop.

Release build, full home pageDatabase sessionsCookie sessions
One request at a timeabout 790 per secondabout 1,400 per second
Time to render one page1.3 ms0.7 ms
Four requests at a time480 to 880 per secondabout 4,500 per second
Memoryabout 80 MBabout 80 MB

The first run taught us more than the second. With the default database sessions in SQLite, every visit wrote a session row, and the writes queued behind each other. Switching the sessions to cookies almost doubled the single-request speed and multiplied the concurrent one. A public page that no one is logged into should not write anything. We apply the same rule on PHP sites: our own public pages send no cookies at all, so a CDN can cache them.

Our numbers and Laravel's are not comparable: different hardware, a different page, a different test. For MEDPRESSO's traffic today the PHP server is not the bottleneck. Rust's case for a platform like this is the cost of each request as traffic grows, the memory a server needs, and the safety that compile-time checks give a team.

There is a practical side too. A release build takes about a minute, and the result is one binary that runs as its own process. It needs a VPS or a container, not shared PHP hosting; where that line runs, and what a server asks of its owner, we covered in Shared Hosting or VPS.

THE VERDICT

Is Laravel Rust ready?

For a prototype, an internal tool or a read-heavy service with a team that knows Rust, yes, already. The framework feels like Laravel, builds fast enough, and the compiler catches a whole class of mistakes before release.

For the core of a commercial platform, not yet. Version 0.1 is a beta and its interfaces will change. The PHP side of Laravel has years of packages, admin panels, payment integrations and people who know them; the Rust side starts almost from zero. Hiring is harder, and every change goes through a compile step.

For MEDPRESSO our advice is to keep the near step simple: move the platform to Laravel 13, render the public pages on the server, and bring in the new business logic with A/B tests from the first day. Laravel Rust stays on the table for the parts where throughput and memory start to cost real money, and we will measure it again when it leaves beta. If MEDPRESSO wants to go further with us, we will do the rebuild. Either way the business logic travels with them: it is written down, designed and already tested on real data.

FAQ

Frequently asked questions

What is Laravel Rust?

Laravel Rust is a Rust edition of the Laravel framework, announced on 1 December 2026 as a beta. It keeps Laravel's ideas (routes, models, migrations, validation, queues, scheduling, broadcasting and Inertia) and compiles the application into one binary built on Axum and Tokio, with models and queries checked by the compiler.

Is Laravel Rust ready for production?

It is a 0.1 beta, so its interfaces will change. It suits prototypes, internal tools and focused services built by a team that knows Rust. For the core of a commercial platform we would wait for a stable release and a wider ecosystem of packages.

Can I run my existing Laravel PHP code on Laravel Rust?

No. The concepts carry over, but the code is written in Rust from scratch. A move means a rewrite of the parts you choose, which is why we tested it on one page with real data before advising a client.

Does Laravel Rust use Blade?

Our project used MiniJinja templates, which follow Jinja syntax and feel close to Blade without the @ directives. Laravel Rust also has Inertia built in, so a front end in React or Vue is possible.

Do I need a VPS to host a Laravel Rust app?

Yes. A Laravel Rust application is one binary that runs as its own process, so it needs a VPS, a container or a platform such as Laravel Cloud. Shared PHP hosting cannot run it.

How long did the MEDPRESSO prototype take?

About six hours of development, including every round of edits, plus two to three hours of business logic and design: roughly one working day.

Sources

Is your Laravel platform due for an upgrade? Let's look at which road fits your business.

Book a Strategic Session

Laravel Development