Download the PHP package studiometa/foehn-starter without Composer
On this page you can find all versions of the php package studiometa/foehn-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package foehn-starter
Foehn Starter Theme
A minimal WordPress theme powered by Føhn: the boot, the configuration, the templates a theme cannot render without, and the front-end build. Nothing else.
That is deliberate. A starting point you delete half of is worse than one you add to, so what is here is what every project needs, and the demonstrations live in studiometa/foehn-demo — every attribute the framework ships, in a working theme you can read.
Note This package is part of the Føhn Framework monorepo. Please report issues and submit pull requests in the main repository.
Quick start with DDEV
composer create-project installs the dependencies, generates web/ and wp-config.php, and writes .env from .env.example with new security keys. ddev start starts PHP 8.5, MariaDB and nginx. When WordPress is not installed, it installs it with admin / admin and activates the theme. When vendor/ is missing (a fresh clone), it runs composer install first.
Before you change the ddev project name, read Rename the theme: the name is also in WP_HOME.
Quick start without DDEV
Then point the document root of your web server at web/, install WordPress (wp core install) and activate the theme (wp theme activate starter-theme).
What is here
Every class here is one a theme needs before it renders anything: the controllers that answer WordPress's template hierarchy, the menus the header and footer templates read, the context provider that puts current_year in the footer, the theme supports and the asset hooks. MenusSeeder fills the three menus, so an empty database gets them back with wp foehn seed.
foehn.config.php opts into the framework's own cleanup and security hooks — CleanHeadTags, DisableEmoji, DisableFileEditor, DisableGlobalStyles, DisableOembed, DisableVersionDisclosure, DisableXmlRpc, GenericLoginErrors, StudiometaUi, YouTubeNoCookieHooks — and turns the discovery cache on. page-cache.config.php turns the static page cache on in production.
Put the files that must be at the document root, such as robots.txt or .well-known/security.txt, in public/. See Public files.
Adding to it
Or read the demo, which has one of everything already written.
AI agents
AGENTS.md tells a coding agent how to work in this project, and CLAUDE.md imports it for Claude Code. In short: read the Føhn Agent Skills at the versions the project has installed, then read what the project declares, before writing code:
The skills are read from vendor/ and node_modules/, so they follow composer update and npm update with nothing to pin. To install them in an agent's own skill directory instead, see AI Agents.
AGENTS.md holds a generated Føhn block between <!-- foehn:begin --> and <!-- foehn:end -->: the first commands an agent runs, and an index of the installed skills and their references. After composer update or npm update, refresh it and commit the change. The command changes nothing outside the markers:
Front-end
There is no JavaScript test setup here, because there is no JavaScript to test yet. The demo has one configured with Vitest and Playwright, ready to copy.
Tests
The unit tests pass even when WordPress cannot boot, because they run against function stubs. The smoke tests ask the real site. Add a test to tests/smoke/ for each page a release must not break.
License
MIT
All versions of foehn-starter with dependencies
composer/installers Version ^2.0
johnpbloch/wordpress Version ^7.0
nette/php-generator Version 4.2.3 as 4.2.1
studiometa/ui Version ^1.10
studiometa/foehn Version 0.11.4
studiometa/foehn-installer Version 0.11.4