goetas-webservices/xsd2php-runtime
Runtime support for code generated by goetas-webservices/xsd2php. Provides the base classes and helpers needed to use PHP classes generated from XML Schema definitions, simplifying integration and serialization in PHP projects.
Consider it when:
Look elsewhere when:
SimpleXML/DOMDocument or a lightweight custom parser.phpro/soap-client or similar instead.For executives: This is a small, MIT-licensed runtime library that supports a schema-first approach to XML integrations. It lets us generate PHP object models from XSD contracts and use them in production without shipping code-generation tooling. The business value is faster, more reliable integration with SOAP/XML partner systems and less custom serialization code to maintain. The main risk is its narrow scope and limited community size, so it should be adopted only where we are already standardizing on xsd2php.
For engineering: Adopt this as the runtime dependency for xsd2php-generated classes. It provides the base types, interfaces, and JMS Serializer handlers that generated models expect, keeping the generator out of production. It is not a full XML/SOAP framework; it assumes xsd2php is the generation tool and JMS Serializer is acceptable in the runtime stack. Treat generated code and schema versions as build artifacts, pin versions, and add integration tests around XML round-tripping. If we are not using xsd2php, or if the integration is JSON-first or simple XML, this package is unnecessary.
How can I help you explore Laravel packages today?