Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Psr18 Wsse Middleware Laravel Package

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.

Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for secure SOAP connectors. This package lets the team add WS-Security (WSSE) to a PSR-18 SOAP transport instead of hand-rolling XML canonicalization, signing, encryption, and token handling. That is a meaningful reduction in custom security code for a narrow but high-risk integration concern.
  • Roadmap sequencing for enterprise/B2B integrations. If the product roadmap includes partners such as ERP systems, banks, payment processors, government/e-invoicing platforms, telecoms, or healthcare exchanges, WSSE support can be the gating technical dependency. Adopting this package may unblock a connector workstream without committing to a large integration platform.
  • Feature scoping and compliance decisions. It helps clarify which security mechanisms must be supported per partner: UsernameToken, X.509 signatures, encryption, timestamps, and certificate rotation. Product can decide whether these are one-off integration costs or a reusable platform capability.
  • Architecture standardization. Because it operates at the PSR-18 middleware layer, it supports keeping SOAP transport behind an internal adapter while reusing existing HTTP concerns such as retries, logging, tracing, and timeouts. This makes it easier to swap clients or isolate vendor-specific SOAP behavior.
  • Make/buy comparison against iPaaS and vendor SDKs. It provides a low-cost option to evaluate against MuleSoft/Boomi/Workato, partner-provided SDKs, or a managed SOAP gateway. For a single integration or a proof of concept, this is likely cheaper and faster than platform procurement.
  • Risk and maintenance decisions. With low community adoption (11 stars), the PM decision is not just “adopt or not” but “adopt behind an internal interface, pin the version, security-review it, and define an exit path.” That framing keeps the dependency tactical rather than strategic.
  • Laravel integration scoping. Laravel has no first-party SOAP stack, so this package would be wired manually through the service container and an internal SOAP client abstraction. Product should budget for that glue work and for contract tests against each partner’s WSDL.

When to Consider This Package

Consider adoption when:

  • The Laravel/PHP service already uses, or plans to use, php-soap/psr18-transport or a compatible PSR-18-based SOAP stack.
  • A counterparty’s WSDL or WS-Policy explicitly requires WSSE, such as UsernameToken, X.509 signing/encryption, or timestamps.
  • The team wants composable middleware rather than a monolithic SOAP client, and needs to preserve existing PSR-18 middleware for logging, retries, and observability.
  • The integration is server-to-server B2B traffic where XML security overhead is acceptable and volumes are moderate.
  • Engineering can own certificate/keystore management, rotation, and SOAP/XML debugging.
  • The MIT license and small dependency surface fit legal/procurement constraints.

Look elsewhere when:

  • The partner exposes REST/JSON/GraphQL or supports OAuth2/mTLS instead of WSSE.
  • You need a broader WS-* stack: WS-Addressing, WS-ReliableMessaging, MTOM/attachments, WS-Policy negotiation, or SAML. This package is intentionally narrow.
  • You need WSDL-driven code generation or a more complete SOAP client; evaluate phpro/soap-client or a framework-specific integration instead.
  • Traffic is high-volume and consumer-facing, where PHP SOAP and XML security overhead become material.
  • Maintenance risk tolerance is low. With 11 stars and a single-purpose scope, verify release cadence, issue responsiveness, security policy, and maintainer bus factor. The listed 2026-09-25 release date should be validated during dependency review rather than assumed.
  • You require commercial support or an SLA.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource