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

Wse Php Laravel Package

robrichards/wse-php

robrichards/wse-php is a PHP library that adds WS-Security to SOAP requests, offering XML signing, encryption and decryption, security tokens and timestamp support for secure, interoperable web service integrations.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enterprise integration scoping: Determines whether we can claim "supports legacy enterprise SOAP partners" on the roadmap. WS-Security (UsernameToken, X.509 signing, encryption, timestamps) is the usual blocking requirement for banking, insurance, government, healthcare clearinghouses, and payment/EDI gateways — this package is the cheapest path to saying yes in PHP.
  • Build vs. buy on crypto plumbing: The alternative is hand-rolling XML canonicalization, digest, and signature logic against ext/soap, which is a security-critical, spec-heavy effort. Adopting this shifts that risk to a maintained dependency that wraps xmlseclibs; the PM decision is "buy" (consume OSS) versus "build and own a small internal SOAP security layer."
  • Deal qualification and pricing tier: WS-Security support is frequently an enterprise-tier checkbox. It informs whether a compliance/enterprise integration capability belongs in the paid plan, a services engagement, or a "supported integrations" list with named partners.
  • Support matrix commitments: Choosing this package lets us state a supported path for SOAP + WS-Security on PHP 8.x with ext/soap, rather than per-customer bespoke work. It affects SLAs we can credibly offer on enterprise connectors.
  • Roadmap sequencing: If a meaningful share of pipeline is blocked on SOAP/WS-* rather than REST/JSON, this is a low-cost unblocker to schedule ahead of building modern OAuth/OIDC connectors — or to explicitly deprioritize in favor of an API-first strategy.
  • Migration and tech-debt decisions: For teams maintaining legacy SOAP integrations, this is the standard answer to "how do we stop writing one-off signature code." It supports a plan to consolidate N bespoke integrations onto one supported wrapper.

When to Consider This Package

Consider it when:

  • A partner or platform publishes a SOAP/WSDL endpoint that mandates WS-Security — UsernameToken, X.509 signature, encryption, or Timestamp headers — and there is no REST/JSON alternative.
  • You are already on PHP with ext/soap and want to add WS-Security headers to SoapClient without replacing your HTTP/SOAP stack.
  • The requirement is narrow and spec-driven: signing outbound requests, verifying inbound signatures, adding security tokens, complying with a partner's WS-Security policy.
  • You need a vendor-neutral, dependency-light option rather than a full ESB/integration platform, and the integration volume is low-to-moderate.

Look elsewhere when:

  • The counterparty offers REST/JSON, OAuth 2.0/OIDC, or mTLS, or you can negotiate a modern transport — do not adopt WS-* for greenfield work.
  • You need broader WS-* coverage (WS-Addressing, WS-ReliableMessaging, WS-Policy negotiation) — this package targets WS-Security, and adjacent specs will remain your problem.
  • You are not on PHP, or you cannot run ext/soap (some hosts disable it), or you need async/streaming/high-throughput behavior ext/soap handles poorly.
  • The vendor supplies an official SDK. Prefer the vendor's supported path when one exists; this becomes a fallback.
  • Your security posture requires a commercially supported, audited dependency with an SLA. Here you get OSS with modest community size (~130 stars), so plan for in-house review, version pinning, and regression tests around signature/canonicalization behavior.

How to Pitch It (Stakeholders)

Executives: A small, focused open-source library that lets our PHP platform talk to enterprise SOAP partners who require WS-Security. It is the difference between "we can integrate with your bank/clearinghouse" and a bespoke build. Cost is near zero; the payoff is unblocking enterprise deals and avoiding custom security code. Risk is manageable with version pinning and a review, and it is isolated to integrations that actually need it.

Engineering: This is the standard PHP answer for WS-Security over ext/soap — it composes with the existing SoapClient via filters rather than replacing it, and delegates XML signature/encryption primitives to xmlseclibs. Adoption means: pin an exact version, wrap it behind our own integration adapter so callers never touch it directly, add contract tests with recorded partner payloads (canonicalization and signature verification are where things break), and treat upgrades as security-relevant changes. The main engineering risk is not the library's API but the spec surface — signature wrapping, timestamp skew, certificate rotation, and each partner's policy quirks — so budget test effort accordingly. It is a targeted dependency, not a platform bet: use it only in the integration paths that require WS-*, and keep it out of the core request path everywhere else.

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.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
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