mirror-and-mountain / meros-portal
Customer Portals for Meros-powered WordPress sites.
Package info
github.com/mirror-and-mountain/meros-portal
pkg:composer/mirror-and-mountain/meros-portal
Requires
None
Requires (Dev)
- illuminate/testing: ^13.0
- mirror-and-mountain/meros-framework: ^1.2
- phpunit/phpunit: ^9.6
- yoast/phpunit-polyfills: ^3.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.