webware / webware-core
Contracts and utilities for the webware-* ecosystem.
Requires
- php: ~8.4.1 || ~8.5.0
- fig/http-message-util: ^1.1
- laminas/laminas-inputfilter: 3.0.x-dev
- laminas/laminas-permissions-acl: ^2.16
- mezzio/mezzio-authentication: ^1.13
- php-db/phpdb: ^0.6.x-dev
- php-standard-library/type: ^6.2.1
- psr/http-message: ^2.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- infection/infection: ^0.35.0
- laminas/laminas-diactoros: ^3.8
- laminas/laminas-filter: 3.5.x-dev
- php-db/phpdb: ^0.6.0
- php-db/phpdb-mysql: ^0.5.x-dev
- php-db/phpdb-pgsql: ^0.1.x-dev
- php-db/phpdb-sqlite: ^0.3.x-dev
- phpbench/phpbench: ^1.7
- phpunit/phpunit: ^13.3
- roave/backward-compatibility-check: ^8.21.0
- roave/security-advisories: dev-master
- webware/webware-tools: ^1.0.0-beta.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-21 09:47:22 UTC
README
Contracts and utilities for the webware-* ecosystem.
Installation
composer require webware/webware-core
Provider load order
This package declares an ecosystem-wide alias so that every consumer resolves the Mezzio authentication contract to the Webware implementation:
'aliases' => [ Mezzio\Authentication\UserInterface::class => Webware\Core\UserInterface::class, ],
The implementation behind that alias is registered by webware/webware-usermanager, and
mezzio/mezzio-authentication declares a factory for the same service name. Register the
providers in this order in config/config.php so the alias is the final word on that key:
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 keep the Webware providers after
mezzio/mezzio-authentication, with core before usermanager.