Search by

A block-based starter theme for Wordpress using the Meros Framework

Package info

github.com/mirror-and-mountain/meros

Type:project

pkg:composer/mirror-and-mountain/meros

Statistics

Installs: 80

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.2.1 2026-11-30 22:27 UTC

README

A block-based WordPress starter theme powered by Meros Framework and Foundations.

composer create-project mirror-and-mountain/meros <YourThemeName>

The standalone Dev Container uses ServerSideUp PHP 8.4 with MariaDB. Its WordPress database service is named wordpress-db. When upgrading an existing project, update DB_HOST in .devcontainer/.env from db to wordpress-db and rebuild the Dev Container. Also update DB_HOST in any retained wp-config.php.

Web server protection

The theme's .htaccess blocks access to environment files, hidden files, internal directories, and common configuration and backup files. It also disables directory listings. It requires Apache 2.4, mod_rewrite, and AllowOverride permissions for AuthConfig, FileInfo, and Options. Ensure the file is included in deployments and test the rules on the server.

Other web servers, including Nginx, do not read .htaccess and need equivalent server-level rules. The vendor directory remains accessible because framework and package assets may be served from it; avoid deploying development dependencies and restrict other non-public files at the server level.

Documentation

Detailed documentation is maintained in meros-docs.

Testing before a pull request or deployment

Run the project regression suites and applicable isolated registration checks:

bash .devcontainer/test.sh unit
bash .devcontainer/test.sh integration
wp meros:test settings --all --provider=theme

Use wp meros:test postTypes --all --provider=theme when your theme defines post types. Feature checks require the dedicated WordPress test environment variables; they do not use the live site's database. See the testing workflow for setup, package scopes, CI and staging checks.

License

MIT. Published WordPress themes must also follow WordPress's licensing guidelines.