webit/soap-api
webit/soap-api is a Laravel/PHP package for integrating SOAP APIs into your application. It provides a lightweight foundation for building SOAP clients and services, helping streamline WSDL-based integrations and keep SOAP logic organized within Laravel projects.
Architecture fit. webit/soap-api is a Laravel-flavored SOAP toolkit — a package that wraps PHP's ext-soap (SoapClient/SoapServer) behind Laravel service providers, config files, and facades. Architecturally it is a thin convenience layer, not a framework. It fits only in a narrow scenario: a Laravel application that must integrate with legacy SOAP endpoints (ERP, banking, government, logistics, insurance) and where the team wants Laravel-native configuration rather than raw SoapClient instantiation. It does not fit modern greenfield architecture, event-driven services, or any stack that has already standardized on REST/JSON or gRPC.
Integration feasibility. Mechanically trivial — a Composer require plus service provider registration — but confidence is very low. The composite score of 0.06 reflects the hard signals: 0 GitHub stars, 0 dependents, last release August 2017. Zero dependents is the most damning datapoint; it means no production reference exists publicly to validate behavior, and any adoption is effectively a first-of-kind pilot. The package predates Laravel 5.5 package auto-discovery maturity, so manual provider/alias registration and a published config are likely required. PHP constraint conflicts with PHP 8.x are probable given the 2017 vintage.
Technical risk. High, concentrated in four areas:
ext-soap or XML handling is your problem.dbojdo), no visible community, no maintainer succession.php: ^5.6|^7.0 and Laravel 5.x. Installing on a current LTS will require a fork and constraint rewrite.ext-soap behavior — WSDL fetching, XML entity handling, blocking I/O — without adding guarantees. XXE hardening, WSDL caching, and timeout semantics are unverified.The one positive: MIT license means forking is legally clean, and the code surface is small enough to audit in hours rather than weeks.
Key questions to resolve before any decision.
composer.json, and does the code parse under PHP 8.2/8.3?ext-soap enabled in our target runtime and container base image, or does this force an infrastructure change?Stack fit. Treat this as applicable only to Laravel 5.x / PHP 5.6–7.x estate. On Laravel 10/11/12 with PHP 8.2+, it is not installable as published. The realistic decision is not "adopt the package" but "adopt the pattern, or adopt the fork."
Migration path. Three options, in order of preference:
SoapGateway interface backed by PHP's SoapClient, with config-driven WSDL URLs, explicit timeouts, libxml_disable_entity_loader/XXE protections, and response mapping to DTOs. Roughly one sprint of effort, zero dependency risk, and it gives you exactly the subset of features SOAP integrations actually use.phpro/soap-client or laminas/laminas-soap — both actively maintained, PHP 8 compatible, and framework-agnostic so they survive a Laravel upgrade.ourorg/soap-api. Accept that you are now the maintainer.Compatibility. Verify composer.json constraints first; expect to relax or rewrite them. Check for use of removed PHP functions (e.g., each(), curly-brace string offsets, create_function) that would fatal on PHP 8. Confirm the service provider still conforms to the current container contract — defer, provides, and singleton bindings have shifted over the years.
Sequencing.
Maintenance. Effectively zero upstream. Once adopted, the total cost of ownership transfers to us: PHP version bumps, Laravel upgrade cycles, and any security remediation are internal work. Budget roughly a few days per major framework upgrade for validation, plus unplanned effort if a partner changes their WSDL.
Support. No vendor, no community, no documentation beyond the README. Support model is "internal subject-matter expert or nothing." If the single engineer who understands the SOAP integration leaves, the knowledge leaves with them — mitigate with recorded fixtures and contract tests.
Scaling. SOAP calls are synchronous HTTP with XML serialization on both ends. The package adds no pooling, retry, or circuit-breaking. Known scaling constraints:
Failure modes to instrument.
ext-soap missing or disabled after a base-image change — fatal at boot, not at call time.SoapClient defaults causing hung workers.Ramp-up. Low for the code itself — the API surface is small and a competent Laravel engineer can read it in an afternoon. High for the domain: SOAP envelope construction, WS-Security, namespace handling, and partner-specific quirks are niche skills that few engineers encounter in modern stacks. Plan for pairing and written runbooks rather than expecting self-serve onboarding. Realistic ramp-up: 1–2 days to first working call, 2–3 weeks to production-grade reliability with observability and failure handling.
How can I help you explore Laravel packages today?