Engineering

Laravel-Style WordPress: What the Roots Stack Changes for an Enterprise Team

8 min read

On this page

You are reviewing a proposal for your company’s website, and the technical section names three tools you have not seen in a WordPress project before: Bedrock, Sage and Acorn. The agency calls it “Laravel-style WordPress.” Your questions are reasonable. Is this still WordPress? Will another team be able to work on it? Are we signing up for one vendor’s way of doing things?

This article answers those questions without code. It explains what each part of the Roots stack changes for the people who audit, release and eventually hand over the platform, and ends with the questions to ask any agency about its stack.

It is standard WordPress, organized like a modern software project. Editors see the same admin and block editor; what changes is how the platform is installed, reviewed, released and handed over.


What is the Roots stack, in one paragraph?

Roots is an independent open-source organization that publishes tools for building WordPress the way software teams build software. Its main projects are released under the MIT license and documented in public. The three you are most likely to see in a proposal are Bedrock (project structure), Sage (theme) and Acorn (Laravel services inside WordPress). None of them changes how your content is stored or how editors publish.

What does each component change for your team?

Keep this table next to the proposal. It covers each component in buyer terms.

ComponentWhat it isWhat changes for your team
BedrockA project structure for WordPress. WordPress core, plugins and themes are declared as dependencies with Composer, the standard PHP package manager.You can see every plugin and its exact version in one file. Updates are a reviewed change, not a click in production. Settings per environment (development, staging, production) live outside the code, so the same code runs everywhere.
SageA starter theme. Templates use Blade, Laravel’s template language, and the front end is built with modern tooling (Vite and Tailwind in the current version).Presentation is separated from logic, so a change to a template does not hide a change to how data is fetched. Code reviews are shorter and easier to read.
AcornA library that brings parts of Laravel into WordPress: service providers, caching, queues, scheduled tasks and command-line tools.Integrations and background work follow a known pattern instead of a custom one per project. An engineer who knows Laravel recognizes the structure.
ComponentWhat to ask the agency
Bedrock“Can we see the dependency list and the lock file? How do you test an update before it reaches production?”
Sage“Where does business logic live, and where do templates live? How are blocks and design tokens kept in sync?”
Acorn“Which Laravel features does this project actually use, and why?”

Bedrock: what changes for audits and updates?

On a standard WordPress install, plugins are added and updated from the admin screen. Over a few years that produces a common problem: nobody is sure which plugins are installed, which versions are running, or who changed what.

Bedrock treats WordPress core, plugins and themes as dependencies that the project declares and pins to a version. The repository holds your custom code and the list of what it depends on. Three things follow for an enterprise team:

  • Audits get shorter. The dependency list and its lock file answer “what is running and at which version” in one place. A reviewer does not need admin access to production to find out.
  • Updates become a release, not an event. A plugin update is a change in the repository. It can be reviewed, tested on staging and rolled back like any other change.
  • Environments stay consistent. Bedrock keeps environment settings outside the code. Development, staging and production run the same code with different configuration, which removes a frequent source of “it worked on staging.”

Bedrock also changes the folder layout of a WordPress project. Raise that with your hosting team early, because some hosts expect the default layout and need configuration to match. For the technical detail, see how Composer manages WordPress dependencies.

Sage and Blade: what changes for maintainability?

Most WordPress themes mix three things in the same files: the HTML that renders a page, the queries that fetch content, and the rules that decide what to show. That works until the site grows and a small design change carries an unexpected change in behavior.

Sage organizes theme code the way a Laravel application is organized. Templates are written in Blade, which keeps markup readable and reusable through layouts and components. Logic lives in its own classes. The current version generates the block editor’s theme settings from the same design configuration the front end uses, so colors, fonts and sizes match between what editors see and what visitors see.

For a buyer, the outcome is maintainability. A new engineer can find where a page is rendered and where its data comes from without reading the whole theme. Reviews are smaller. Design changes are less likely to break content. Your engineers can follow a first project on the Roots stack, step by step.

Acorn: when do Laravel services inside WordPress matter?

Acorn is the part that earns the “Laravel-style” label. It makes Laravel components available inside WordPress: service providers to organize code, a cache layer, queues for heavy tasks that should not slow a page, scheduled tasks, and command-line tools that run through WP-CLI.

It matters when the platform does more than publish pages:

  • Integrations with a CRM, a marketing automation platform or another data source that need retries and logging.
  • Background work, such as processing a large content import or regenerating files, that should not run during a page request.
  • Custom commands your team runs on a schedule or during a release.

It matters less for a marketing site with a stable set of templates and no integrations. A good proposal says which Acorn features the project uses and why. If the answer is “all of them,” ask again.

Choosing the platform, not just the stack? See how 40Q plans and builds enterprise WordPress platforms that marketing runs and IT controls.


Is a Roots-based build lock-in?

This is the question IT reviewers ask most, and it deserves a direct answer. A Roots-based build is not proprietary to the agency that proposes it.

  • The code is open source. Bedrock, Sage and Acorn are published under the MIT license. Anyone can read, use and modify them.
  • The stack is documented and widely used. Roots publishes its documentation in public. The Sage repository on GitHub has more than 13,000 stars, and the package Bedrock uses to install WordPress core reports more than 20 million installs.
  • The skills are common. The stack uses Composer, Blade and Laravel conventions. Engineers who know modern PHP or Laravel recognize the structure quickly.
  • The content is ordinary WordPress content. Posts, pages, blocks and media live in the WordPress database like any other site.

Lock-in usually comes from somewhere else: code that lives only in the agency’s accounts, undocumented custom work, or a release process only one person understands. Those risks exist with or without Roots. Ask about them directly.

What does another team need to take over?

  1. The repository, in your organization’s account, with its full history.
  2. The dependency list and lock file, so they install exactly what runs in production.
  3. A README that explains how to set up the project locally and how a release works.
  4. The list of environment settings the project expects (names and purpose, shared through your own process).
  5. Notes on any custom Acorn services, integrations and scheduled tasks.

If a proposal cannot promise these five things, that is the lock-in risk, whatever the stack. If you are the new team, here is how we take over a WordPress site another team built.

What should you ask any agency about its stack?

  • Where does the code live, and in whose account?
  • Can we see the full list of plugins and their versions without logging in to production?
  • How is a plugin or WordPress update tested before it reaches production? Can it be rolled back?
  • How do development, staging and production differ, and how do you keep them in sync?
  • Where does business logic live, and where do templates live?
  • Is the stack open source and documented in public? Who maintains it?
  • What would another team need on day one to take over, and is that written down today?

Why does 40Q build on Roots?

40Q has sponsored the Roots open-source stack for more than eight years. We contribute to the project we propose building on, because the tools under your site need maintainers long after launch. When we recommend Bedrock, Sage or Acorn, we are recommending tools we help keep alive.

The structure is what lets your marketing team publish without a ticket while IT keeps control of what goes live: releases are reviewed, dependencies are declared, and the platform stays readable for whoever maintains it next.

Frequently asked questions

Book a platform review

Want engineers who build this way every day, on your hours? Meet our nearshore WordPress engineering team.

Share

Take the next step

Give your team the autonomy they've been waiting for

Most enterprise teams stay stuck because their CMS slows them down. You can change that today with a clear, low-friction first step.