wsdltophp/packagebase
Base library for PHP packages generated from WSDL files by wsdltophp/packagegenerator. It supplies shared runtime utilities, helpers, and common behavior so generated SOAP client code stays lean, consistent, and easier to maintain.
wsdltophp/packagegenerator, so it directly underpins the "generate typed clients from WSDL vs. hand-write SOAP calls" decision.Adopt only as a transitive dependency of generated code:
wsdltophp/packagegenerator and need the base classes its output extends or uses — in practice you rarely "choose" this package, it arrives with the generator.choice/any, many operations) where hand-writing clients is error-prone and expensive to keep in sync.Look elsewhere when:
For executives: This is a small, MIT-licensed runtime library that lets us auto-generate PHP clients for partner systems that only speak SOAP. It reduces the cost and defect rate of integrating with legacy enterprise partners and makes each additional integration cheaper. It is not a platform bet — community activity is low, so we treat it as generated scaffolding: version-pinned, wrapped behind our own interface, and replaceable without touching product code.
For engineering: It is the base-class layer, not a framework — you get it by running the generator, and you inherit its abstractions into generated models. Practical guidance: pin the exact version, commit generated code or regenerate deterministically in CI, keep generated clients behind an adapter/anti-corruption layer, and cover that boundary with contract tests so the library can be swapped or vendored later. Budget a short spike to confirm the generator's output matches our PHP version and coding standards before committing to a roadmap dependency.
How can I help you explore Laravel packages today?