Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laminas Xmlrpc

Laminas Xmlrpc Laravel Package

laminas/laminas-xmlrpc

Laminas XML-RPC provides a complete PHP implementation of the XML-RPC protocol, including both client and server support for encoding, decoding, and dispatching remote procedure calls.

View on GitHub
Deep Wiki
Context7

Fully-featured XML-RPC server and client implementations

Frequently asked questions about Laminas Xmlrpc
Does laminas/laminas-xmlrpc work with Laravel?
laminas/laminas-xmlrpc is a framework-agnostic XML-RPC protocol library, so it can be installed in a Laravel application through Composer but ships no Laravel-specific integration. There is no service provider, facade, config file, or publishable asset, so all container bindings and routing are yours to write. Expect a few engineer-days for a production-grade wrapper, not a drop-in install.
How do I install laminas/laminas-xmlrpc in a Laravel project?
Install it with Composer using composer require laminas/laminas-xmlrpc, then confirm your PHP version is 8.1 through 8.4 because that is the supported range. There is nothing to publish and no artisan install command, so the next step is registering your own bindings or wrapping the client and server classes in small adapters. Pin an exact version if you plan to productionize the integration.
Is there a Laravel service provider or facade for laminas-xmlrpc?
No. The package is a protocol implementation, not a Laravel integration, and it provides no service provider, facade, config file, or publishable assets. Every touchpoint with the Laravel container, including transport, method registry, and exception mapping, is something you would own. Budget for that wiring explicitly rather than assuming a package-level integration exists.
How do I build an XML-RPC server in Laravel with laminas-xmlrpc?
The server-side fit is the stronger use case because the package maps an inbound POST body to callable methods, which maps cleanly onto a single controller and route in Laravel. Use Laravel middleware for auth, throttling, and logging, since the package intentionally does not supply those concerns. Disable or gate introspection methods such as system.listMethods in production and map XML-RPC faults to appropriate HTTP responses in your controller.
What PHP and Laravel versions does laminas-xmlrpc support?
The package supports PHP 8.1 through 8.4 and has active CI running Psalm, type coverage checks, and PHPUnit 10. It does not declare Laravel version constraints because it is not a Laravel package, so compatibility with your Laravel release depends on your PHP version and on your own integration code. Verify against your application's PHP baseline before pinning.
How do I protect a Laravel XML-RPC endpoint from XXE attacks?
Inbound XML from untrusted networks is a classic XXE and entity-expansion vector, and version 2.13 added LIBXML flag passthrough as the mitigation hook, but it is opt-in. Set LIBXML_NONET, disable entity loading, and enforce hard request-size and depth caps at the web server and middleware layers. Treat the extension audit and XML parser configuration as an explicit review gate, not a default.
Why does laminas-xmlrpc serialize boolean false incorrectly?
Version 3.0.1 fixed a bug where the Value Boolean type serialized false to an empty tag, which silently corrupted false values across the wire. That class of defect is exactly why your contract tests should cover every type, including false, 0, empty string, empty array versus empty struct, nulls, UTF-8 and non-ASCII text, timezone-bearing dates, and large base64 blobs. Pin to 3.0.1 or later if booleans matter to your payloads.
How do I test XML-RPC client and server code in Laravel?
Build a test harness around the package's encode and decode value objects first, because type marshalling edge cases are where defects hide. For the server, feature-test the controller and route with inbound XML fixtures and assert on the XML response body and fault mapping. For the client, inject a fake or mock transport adapter so tests do not depend on a live XML-RPC endpoint.
Is laminas/laminas-xmlrpc actively maintained and safe to use in production?
It is maintained by Laminas with a credible security process and a steady PHP-version cadence, but the package is effectively single-maintainer, with zero dependents and about 25 stars. That is a maintained-but-dormant utility rather than a community-validated path, so pin an exact version and consider vendoring the source under its BSD-3-Clause license. Keep the abstraction boundary thin so you can swap the implementation if the project stalls.
What are the alternatives to laminas-xmlrpc for Laravel?
Most teams hand-roll XML-RPC with PHP's XML extensions, which is usually worse than using a real value-object layer like this one. Alternatives include other PHP XML-RPC libraries, a PSR-18 or Guzzle client calling an XML-RPC gateway directly, or replacing XML-RPC with JSON or REST if you control both ends. If the requirement is to talk to a specific legacy system such as WordPress, Odoo, or an older ERP, the protocol requirement is durable even though the package choice is not.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib