venture-oak-labs/wsdl2php-generator-cli
A command-line tool that generates PHP classes from WSDL files, streamlining SOAP client development. It wraps the wsdl2php-generator package in a ready-to-use CLI for faster integration and less boilerplate.
xsd:any, non-standard schemas), you learn that in an hour and can reprice the roadmap item — cheap discovery, no architecture commitment.Adopt when:
xsd:any).require-dev. The signal here is thin — 4 stars, 0 dependents, a single maintainer, and it is a thin console wrapper over the wsdl2phpgenerator library.Look elsewhere (or skip generation) when:
Wsdl2PhpGenerator from a small Artisan command of your own is ~50 lines and removes a link from your supply chain.wsdl:import, inline schemas, anyType, choice groups, or WS-Security/WS-Addressing requirements will likely produce output you'll fight. Budget for hand-written mapping instead.SoapClient. If your platform standard is PSR-18/PSR-17, async, or you need mocks and contract tests, generate the types but plan to build your own transport layer.To executives: This is a free, MIT-licensed developer tool that turns a WSDL contract into ready-to-use PHP classes, cutting the mechanical work out of partner/SOAP integrations. It carries no runtime dependency and no licensing cost, so the downside is limited to engineering hours on a spike. The upside is that we can quote integration timelines based on a one-hour feasibility test rather than guesswork. Caveat to state plainly: the project is small and lightly maintained, so we'd treat it as internal tooling we control (pinned, optionally forked), not a supported third-party product.
To engineering: Use it as a scaffolder, not a dependency of the application. Run the CLI against the WSDL, review the generated classes, commit them, and wrap them behind your own client interface so the SOAP surface stays at the edge of the codebase. Expect to hand-fix edge cases in complex schemas. Because adoption is require-dev-only and the output is plain PHP, the exit cost is near zero — if the tool is abandoned, we keep the generated code and, if needed, reimplement the ~50-line generation step against the underlying library. Recommend a timeboxed spike per integration: one hour to validate the WSDL generates cleanly, then a go/no-go.
How can I help you explore Laravel packages today?