Search by

mirror-and-mountain / meros-portal

tmw-dev

Customer Portals for Meros-powered WordPress sites.

Package info

github.com/mirror-and-mountain/meros-portal

pkg:composer/mirror-and-mountain/meros-portal

Statistics

Installs: 19

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.2.0 2026-11-30 15:21 UTC

This package is auto-updated.

Last update: 2026-11-30 15:21:36 UTC


README

Customer portals for Meros-Powered themes.

Testing before a pull request or release

Run composer test (an alias for composer test:integration) from a source checkout with development dependencies and the dedicated WordPress test environment configured. Portal currently has an integration-only regression suite covering its registered routes, Livewire components and templates. The workspace runner also includes it:

bash .devcontainer/test.sh integration --testsuite Portal

From a consuming theme with the package installed, also run:

wp meros:test settings --all --provider=meros_portal
wp meros:test routes --all --provider=meros_portal
wp meros:test livewire --all --provider=meros_portal
wp meros:test views --all --provider=meros_portal

These check registration and template compilation in isolated WordPress and require a dedicated test database. They never dispatch routes, mount components or render authenticated pages. Add focused behavioral coverage for login, permissions and portal workflows rather than treating registration checks as full portal validation. See the testing workflow for setup and CI/release gates.