When you start a Drupal module or theme from a template, you run its installer on your own machine, with your own permissions. The template then writes your project's CI workflows and its dependency rules, and those run on every change for as long as the project lives. You're trusting the template, the way it was built and everything it brings with it.

Eddy is our free, open-source template for Drupal modules and themes. It gives an extension a local Drupal site, tests across Drupal 10, 11 and 12, coding standards checks and mirroring to Drupal.org, all driven by the same commands on your machine and in CI. We introduced it in October in Meet Eddy.

Eddy 5.3(Opens in a new tab/window) is about security. We now build and ship Eddy more securely, and you can add it to your project more securely: every file of a release is signed and attested before it's published, you can verify the installer before it runs, and the dependency rules your project gets hold new versions back for a week. Eddy still runs straight on your machine with no Docker, which lets several AI agents work on several clones of a project at once. 5.3 adds an optional dev container for Codespaces, DevPod and VS Code, and a check for Single Directory Components.

What's new in Eddy 5.3

How we build and ship each release

A release of Eddy now starts from a version tag pushed to main, and 3 separate jobs take it from there:

Job What it does What it can touch
Build Packs the template, signs the checksums with GPG and creates signed build attestations The signing key, with read-only access to the repository
Publish Attaches every file to the draft release, then publishes it Write access to the release, with no secrets
Verify Checks the signature and the attestations of the published files, confirms that eddy.drevops.com/install serves exactly the signed installer, and runs a full install from the release Read-only access

No single job holds both the signing key and write access to the repository. Every file is attached before the release is published, and GitHub then locks the release, so the files you download are the ones the build signed.

The code is scanned as well. A new audit workflow runs OpenSSF Scorecard(Opens in a new tab/window), CodeQL on the workflows and the JavaScript, and Semgrep on the installer, and uploads the results to GitHub's code scanning. Eddy's README now shows its Scorecard score and its OpenSSF Best Practices passing badge, both linked to their live pages. Eddy's own CI installs a pinned, checksum-verified Ahoy, the same version the dev container ships.

Verify the installer before you run it

Starting a project from Eddy takes 1 command:

curl -fsSL https://eddy.drevops.com/install > install.php && php install.php

install.php runs on your machine with your permissions, so it deserves a check first. Each release attaches 5 files:

File What it is
install.php The installer of that release
eddy-<version>.tar.gz The template the installer downloads
SHA256SUMS The SHA-256 checksums of those 2 files
SHA256SUMS.asc A GPG signature of SHA256SUMS
eddy-<version>.intoto.jsonl Signed build attestations that tie each file to the commit and the workflow run that built it

The quickest check uses the GitHub CLI:

gh attestation verify install.php --repo drevops/eddy

For a check that stands apart from the repository, use GPG. The signing key lives on keys.openpgp.org(Opens in a new tab/window), and you fetch it by its fingerprint, 7B8D 3C97 93E0 FF52 EAAB FEC8 E532 2FD0 EC15 511E. The release workflow signs only when the keyserver's copy matches the signing key. A change pushed to the repository can't swap the key, so the fingerprint you record on your first download is a fixed point for every later one. The installer also runs beside the SHA256SUMS files those steps download, and removes them once the install succeeds.

The installer runs its own check too. It holds the SHA-256 checksum of the template and stops before expanding an archive that doesn't match. A notice during installation now ends the run with a non-zero exit code, so a script or CI job sees exactly whether the install finished.

The template archive is also smaller. Eddy's own fixtures, docs and test suite, about 580 files, are left out of every archive, so the archive is 180 KB, down from 1.39 MB, and the installer works only with the files your project keeps. The Installation(Opens in a new tab/window) page walks through both checks.

Safer dependency updates in your project

Renovate(Opens in a new tab/window) keeps an Eddy project's npm packages, GitHub Actions and Docker images up to date with grouped pull requests. The renovate.json your project gets now waits 7 days after a version is published before it offers it. That week gives the community time to spot a broken or compromised release before it reaches your CI. npm runtime dependencies, the code your extension actually ships, and the weekly lock file refresh always wait for you to review and merge them.

Images on GitHub's container registry, the dev container among them, update the same way as everything else, while Docker Hub images keep the 7-day wait. The release notes workflow your project gets runs with only the permissions it needs.

Reporting a vulnerability

SECURITY.md explains how to report a vulnerability privately, through GitHub's private vulnerability reporting or by email, and commits to a first response within 14 days. A confirmed issue is fixed in a new release and described in a GitHub security advisory.

Built for AI agents, with a dev container when you want one

Eddy runs your extension straight on your machine, on the PHP, Composer and Node.js you already have. The site runs on PHP's built-in webserver with an SQLite database, so a build needs no Docker and uses far less memory and CPU than a stack of containers. It stays fast and easy to debug, too.

That makes Eddy a good fit for AI agents. Each clone of a project builds its own site in its own build directory, with its own database, and start picks the first free port from 8000 to 8099 and saves it to the clone's .env. The commands that stop a webserver stop only their own clone's. So you can have several agents working on several clones of a project at the same time, on 1 machine, each building, linting and testing its own copy.

5.3 adds a dev container as 1 more option, for the times a container suits you better: a new contributor who'd rather not install PHP, a quick session in GitHub Codespaces, or an agent you'd like to keep inside a container. Running on your machine stays the way Eddy works by default.

A dev container(Opens in a new tab/window) is a container described by 1 file, .devcontainer/devcontainer.json, that editors and cloud tools know how to start. The installer now asks "Add a dev container", with no as the default. Answer yes, and your project gets that file. Open the project in Codespaces, DevPod, VS Code or the Dev Containers CLI, and you get the whole toolset in a ready environment. In Codespaces, it all runs in the cloud. GitHub keeps a signed build attestation for every image we publish, so you can check where yours came from with gh attestation verify.

The dev container is a community contribution. Stuart Clark(Opens in a new tab/window) proposed it and built it, along with the change that lets the build run on a mounted volume. Thank you, Stuart.

We publish 1 image for each PHP version that CI tests, for both amd64 and arm64. Your project starts the image of the lowest PHP version your Drupal majors support, the same version the test-php-min-* CI jobs run, tagged with the Eddy release your project came from, so its environment changes only when you update.

What's in the image Why it's there
PHP with Composer and the extensions Drupal needs, including gd, pdo_sqlite, sodium and zip The build and Composer run without extra setup
No PHP memory limit PHPStan's workers get the memory they need, as in CI
pcov, plus Xdebug installed but off Coverage works straight away, and XDEBUG=1 turns on step debugging
Node.js 22 with npm The version CI runs
Headless Chromium with chromedriver FunctionalJavascript tests drive a real browser inside the container
Ahoy, make, sqlite3 and cloudflared The command wrappers, drush sql:cli and the public tunnel

Before we publish an image, CI checks each of these tools with goss(Opens in a new tab/window) and confirms that Chromium answers a WebDriver session.

The container also takes care of a few details that are easy to lose time on. VS Code and Codespaces forward ports 8000 to 8099, so the site and its login links open in your own browser. The build directory sits on a Docker volume, which is faster than a shared workspace and where file locks work, so Rector's parallel workers don't trip over each other. Git is set to core.checkStat minimal, so a rebase on a shared workspace sees a clean tree as clean.

To add the dev container to a project you've already installed, ask the update skill to turn it on. The Dev container(Opens in a new tab/window) page covers starting it in each tool.

Checking Single Directory Components with lint-sdc

Single Directory Components, or SDC, is the way Drupal core builds reusable pieces of a page. Each component lives in a folder of its own, with a .component.yml file that describes its properties and slots, a Twig template and its CSS and JavaScript. Themes are built from them, and modules can ship them too.

SDC Devel(Opens in a new tab/window) validates those definitions and templates, and its drush sdc-devel:validate command reports each finding as a notice, a warning or an error. The command always exits with 0, so a CI step that runs it stays green whatever it finds.

Eddy 5.3 adds lint-sdc, as ahoy lint-sdc and make lint-sdc. It runs SDC Devel against the components directory of your extension, prints every finding and fails on a Warning or an Error. Set SDC_DEVEL_FAIL_LEVEL to make it stricter or more lenient, and CI_SDC_DEVEL_IGNORE_FAILURE=1 lets CI through while you work through existing findings. CI runs it in every test job, after the site is provisioned, on Drupal 10, 11 and 12.

The installer offers SDC Devel as 1 of its tools, switched on by default for themes and off for modules. An extension without a components directory passes without a check. When you add a components directory to an existing project, lint-sdc tells you which commands link it into the build.

Other improvements in 5.3

  • The Cloudflare quick tunnel works on Windows. With CLOUDFLARE_TUNNEL=1, start launches cloudflared through WMI and stop ends it with taskkill, so you can share your local site from a Windows machine.
  • On/off settings follow 1 rule. XDEBUG, CLOUDFLARE_TUNNEL and LOGIN_QRCODE all read empty, 0, false, no and off, in any letter case, as off, and anything else as on. If you set XDEBUG=0 to turn Xdebug on, change it to XDEBUG=1.
  • Coverage works under any path. A project inside a hidden directory, such as ~/.local/src/my_module, gets its full coverage report, from PHPUnit 9 through 12.
  • JavaScript behaviours get the module's own name. A module named my_module gets Drupal.behaviors.myModule, so 2 Eddy extensions on 1 site keep separate behaviours. Existing projects keep the names they were generated with, so rename them by hand if you run 2 Eddy extensions side by side.
  • provision checks the site is up. When the server isn't running, it says so and tells you to run start, so every login link it prints opens.
  • The docs are up to date with all of the above, with fuller coverage of Windows, including Bash on PATH and the Windows database path. They now use Eddy's own type and a navy dark mode, and contributors can read ahead of the latest release on the development docs(Opens in a new tab/window), rebuilt from main on every push.

Updating to 5.3

If you use Claude Code, ask it to "update scaffold". Eddy's update skill renders the template from your original installer answers at your current release and at 5.3, merges the difference into your project, then builds, lints and tests the result and opens a pull request for you to review. You get the new renovate.json and release notes workflow along the way, and the same skill turns the dev container on for an existing project.

2 things are worth checking after the update: an XDEBUG=0 in your .env, and JavaScript behaviour names if you run 2 Eddy extensions on 1 site.

Try it

  1. In a new, empty directory, run curl -fsSL https://eddy.drevops.com/install > install.php.
  2. Verify it with gh attestation verify install.php --repo drevops/eddy, then run php install.php and answer its questions.
  3. Run ahoy build or make build on your machine. If you said yes to the dev container, you can open the project in Codespaces instead.

The documentation(Opens in a new tab/window) covers every step, from the first build to the first deployment to Drupal.org. The modules we maintain, including Testmode(Opens in a new tab/window) and Generated Content(Opens in a new tab/window), run on Eddy too. Ideas, bug reports and pull requests are welcome on GitHub(Opens in a new tab/window).

Are your custom modules and themes ready for Drupal 12?

We are a Melbourne-based digital agency that builds and supports Drupal websites. Eddy is the template behind the open-source modules we maintain. If your website relies on custom modules or themes and you'd like them tested and ready for Drupal 12, we're glad to talk it through.