laminas/laminas-xmlrpc
Laminas XML-RPC provides client and server components for XML-RPC in PHP. Build and parse XML-RPC requests/responses, expose methods via a server, and integrate with Laminas components for transport, encoding, and fault handling.
spatie/array-to-xml or symfony/serializer are simpler and more actively maintained).For Executives: "This updated package (3.0.0) provides a modernized, compliant way to handle XML-RPC integrations, reducing the risk and cost of maintaining legacy system connections. By adopting this solution, we avoid custom development (~30% cost savings) while ensuring compliance with existing contracts. The breaking changes (PHP 8.1+ requirement) align with our tech stack upgrade roadmap, and the improved native type handling enhances reliability. This is a low-maintenance, future-proof option for systems like [ERP/CRM X], with a clear path to deprecate XML-RPC over time."
For Engineering: "The 3.0.0 release drops Laminas HTTP and updates PHP dependencies, which means we’ll need to adapt our HTTP layer (e.g., switch to Guzzle or native PHP HTTP). However, the improved native type handling in parameters/methods fixes long-standing edge cases (e.g., base64 encoding, fault responses). This is a battle-tested package (used in older Laravel versions) but now requires PHP 8.1+. Recommend evaluating the effort to upgrade and pairing this with a 2-year deprecation timeline for XML-RPC. Tradeoff: Slightly heavier than minimalist options, but worth it for reliability and compliance."
How can I help you explore Laravel packages today?