Mezzio user registration, authentication, email verification, and admin user management for the webware-* package family. Ships with a message-bus driven command layer, PhpDb-backed user repository, PSR-15 middleware for login and registration flows, HTMX-aware request handlers, and a webware-admin dashboard widget.
composer require webware/webware-usermanagerwebware/webware-core aliases Mezzio\Authentication\UserInterface to
Webware\Core\UserInterface, and this package registers the implementation behind it.
Register the providers in config/config.php in this order:
Mezzio\Authentication\ConfigProviderWebware\Core\ConfigProviderWebware\UserManager\ConfigProvider
The component installer adds providers in the order packages were installed, which is not
necessarily this order - check config/config.php after installing and reorder if needed.
Any provider that declares an entry for Mezzio\Authentication\UserInterface competes for
the same service name and the last one aggregated wins, so load mezzio/mezzio-authentication
first, then webware/webware-core, then this package.
This package also aliases Mezzio\Authentication\UserRepositoryInterface to its
Repository\UserRepository, whose authenticate() implements that contract (the return
type is narrowed to the user entity this package hands out). Mezzio\Authentication\ConfigProvider
declares no service for that name, so the alias does not compete with anything. A host can
type against either Webware\UserManager\Repository\UserRepositoryInterface or the Mezzio
interface; this package replaces the authentication workflow while keeping the contract
shape, so a hand-rolled Mezzio repository can be removed without touching type hints.
See docs/.