php-soap/psr18-wsse-middleware
PSR-18 middleware that adds WS-Security UsernameToken authentication to outgoing SOAP requests. Drop it into your HTTP client stack to secure envelopes with username/password credentials—framework-agnostic and easy to combine with php-soap transports.
Consider adoption when:
php-soap/psr18-transport or a compatible PSR-18-based SOAP stack.Look elsewhere when:
phpro/soap-client or a framework-specific integration instead.2026-09-25 release date should be validated during dependency review rather than assumed.To executives: This is a small, MIT-licensed building block that lets us connect to enterprise partners requiring WS-Security without building cryptographic XML handling ourselves. It lowers integration cost and time-to-market for B2B deals, and the risk is contained if we wrap it behind an internal adapter and pin versions. It is a tactical accelerator for SOAP-based partners, not a platform bet.
To engineering: It composes with PSR-18, so we keep our existing HTTP client, retries, logging, and tracing. WSSE concerns stay in middleware instead of leaking into domain code and can be tested in isolation. Caveats: narrow scope, low community adoption. Do a security review, isolate it behind an interface, add contract tests against each partner’s WSDL, and keep a fallback path if maintenance stalls.
To product: Use it first in a spike to validate a WSSE-dependent integration. Promote it to a supported platform capability only when two or more strategic integrations need the same security profile. If only one partner needs SOAP plus WSSE, prefer a thin adapter or managed gateway over platformizing the dependency.
How can I help you explore Laravel packages today?