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

Nusoap Laravel Package

nusphere/nusoap

nusphere/nusoap is a PHP SOAP toolkit for building and consuming SOAP web services without PHP's SOAP extension. It offers client and server classes, WSDL generation/parsing, and a lightweight, dependency-free way to integrate legacy SOAP APIs into Laravel or plain PHP applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Legacy integration build-vs-buy: This package is a shortcut for the "build" side of a SOAP integration — it lets a Laravel team stand up a WSDL-speaking client or server in days rather than weeks, without writing XML envelope/serialization code by hand.
  • Enterprise/partner onboarding roadmap: SOAP integrations are almost always customer- or partner-driven (ERP, WMS/TMS, payment gateways, tax and utility APIs, government filings, banking/ACH endpoints). Adoption here is a decision to say "yes" to an enterprise deal that requires a SOAP endpoint, and to fund it as an integration milestone rather than a platform investment.
  • Exposing a SOAP façade over an existing Laravel domain: NuSoap's server-side capabilities (WSDL generation from PHP functions, complex type handling) make it viable for a short-lived "SOAP façade" feature — e.g., a partner requires SOAP while the internal system is REST/JSON. This is a product decision to support a channel, not to adopt SOAP as a house style.
  • Migration sequencing: Because this is a 2015-vintage Composer repackaging with 0 dependents and no active maintenance, choosing it is implicitly a decision to isolate and eventually retire it. That shapes roadmap items: an anti-corruption layer now, an exit plan in a later quarter.
  • Scope containment / de-prioritization: The low opportunity signal (24.45) and near-zero ecosystem adoption argue against standardizing SOAP tooling, investing in in-house SOAP libraries, or treating SOAP as a supported public API surface for new products.
  • Make-vs-mend on infrastructure: If ext-soap is unavailable in the target runtime (shared hosting, restricted PHP builds, container images you don't control), this package substitutes for a platform capability you'd otherwise have to procure or reconfigure — a hosting/infrastructure decision as much as a library one.

When to Consider This Package

Consider it when:

  • You must integrate with a specific third-party SOAP 1.1/1.2 service that publishes a WSDL, and the effort is bounded — one endpoint, one workflow, known lifetime.
  • ext-soap is unavailable, disabled, or behaviorally inconsistent across your environments, and you need a pure-PHP client.
  • You need server-side WSDL generation from PHP functions (a niche that ext-soap covers poorly and most modern libraries ignore entirely).
  • The work is a time-boxed bridge: an internal tool, a proof of concept, a one-off migration, or an interim shim in front of a system slated for replacement.
  • You can vendor or pin the code, own the fork internally, and are comfortable reading and patching PHP that predates modern standards.

Look elsewhere when:

  • The integration is long-lived, revenue-critical, or on the critical path for many customers — an unmaintained dependency with no release since December 2015 and no dependents is an availability risk you will own alone.
  • You target modern PHP (8.1+) under strict typing and deprecation-as-error settings; expect to patch, and budget for it.
  • You have security, auditability, or compliance requirements (XML external entity handling, TLS/certificate configuration, dependency provenance) — you will need your own review and probably your own fixes.
  • A maintained alternative exists: ext-soap for clients, phpro/soap-client for a modern typed client with middleware, or code-generated clients from the WSDL. Prefer these wherever they fit; the ecosystem consensus is clear.
  • You need a support contract, CVE response, or a maintainer you can escalate to. There is none here.
  • You are designing a new public API — do not choose SOAP as the surface; use REST/JSON or GraphQL and treat SOAP as an inbound compatibility concern only.

How to Pitch It (Stakeholders)

To executives: This is a narrowly scoped unblocker, not a platform bet. It lets us connect to a partner or enterprise system that only speaks SOAP, using MIT-licensed code at no purchase cost. The trade-off is maintenance risk: the library has had no release since 2015 and essentially no user base. We recommend approving it only behind an isolation layer, with one engineer accountable, and with a stated exit path — either migrating to PHP's native SOAP extension or retiring the integration when the upstream system changes. It should not appear on any architecture standard or reusable-platform slide.

To engineering: Treat nusphere/nusoap as vendored third-party code you now own. Pin the exact version (no floating constraints), commit or mirror it, and wrap every call behind a single adapter interface so the rest of the codebase never imports its classes. Add contract tests against recorded SOAP fixtures so upgrades or a future swap are provable, and confirm behavior on your target PHP version before committing to a timeline. Assume you will patch it at least once.

To product and delivery: Scope the value as "unblocks integration X," with an explicit assumption that this is a bridge. Put a line item on the roadmap to reassess in two quarters, and note the dependency in the risk register rather than the tech-stack inventory. If the integration turns out to be strategically important or grows beyond its original scope, escalate — that is the signal to fund a proper replacement instead of extending this one.

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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core