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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires php Version ^8.5
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package studiometa/foehn-starter contains the following files

Loading the files please wait ...