PHPackages                             bdunogier/xmlrpcbundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bdunogier/xmlrpcbundle

ActiveLibrary[API Development](/categories/api)

bdunogier/xmlrpcbundle
======================

Simple XML RPC Server for Symfony 2

2.0.3(12y ago)4972[4 issues](https://github.com/bdunogier/xmlrpcbundle/issues)1GPL-2.0PHPPHP &gt;=5.3.3

Since Jul 10Pushed 12y agoCompare

[ Source](https://github.com/bdunogier/xmlrpcbundle)[ Packagist](https://packagist.org/packages/bdunogier/xmlrpcbundle)[ RSS](/packages/bdunogier-xmlrpcbundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (7)Used By (1)

XML RPC Bundle
==============

[](#xml-rpc-bundle)

[![Build Status](https://camo.githubusercontent.com/94611eca44a63f95f9bb2cc856528eac32fc10351478ed862d0b74b462ec4a0a/68747470733a2f2f7472617669732d63692e6f72672f6264756e6f676965722f786d6c72706362756e646c652e706e67)](https://travis-ci.org/bdunogier/xmlrpcbundle)[![Analytics](https://camo.githubusercontent.com/d7406b30f11d939ccd755c5a5c097c0376ae5cd9eee13848659eebec4f9dfe88/68747470733a2f2f67612d626561636f6e2e61707073706f742e636f6d2f55412d35323132313836302d312f786d6c72706362756e646c652f726561646d65)](https://github.com/igrigorik/ga-beacon)

Principle
---------

[](#principle)

This Symfony 2 bundle will let you implement an XML-RPC server without leaving the comfort of your gold old Symfony 2.

It does the following:

- intercept requests to the XML-RPC endpoint
- convert the XML payload to a unique route (based on the methodCall)
- convert the XML payload to a set of primitive parameters (arrays, hashes, integers, strings...)

Usage example
-------------

[](#usage-example)

Let's consider this XML-RPC payload:

```

  myAPI.getLatestContent

      Some string

```

To process this call, all you need to do is create a route that matches /xmlrpc/API.getLatestContent, and map a controller to it, the usual way:

```
myroute.getLatestContent:
  path: /xmlrpc/myAPI.getLatestContent
  defaults:
    _controller: MyBundle:API:getLatestContent
```

And that's it. In your controller, you will receive a standard HttpFoundation Request, where each parameter is part of the POST data.

An hello world example can be found inside the bundle itself.

Parameters providers
--------------------

[](#parameters-providers)

By default, the route won't receive any parameter, and parameters from the XML-RPC request will be made available as $\_POST\[0\], $\_POST\[1\], ...

In order to get more meaningful controllers, `ParametersProcessor` can be used.

A parameter processor must:

- implement `BD\Bundle\XmlRpcBundle\XmlRpc\ParametersProcessorInterface`
- be registered as a service tagged as `bdxmlrpc.parameters_processor`, with a `methodName` attribute matching the XML-RPC method

The interface requires two methods: `getRoutePathArguments` and `getParameters`. Both will refine the request arguments based on the contents of the `$parameters` array, a numerical array of the XML-RPC request parameters.

### `ParametersProcessorInterface::getRoutePathArgument()`

[](#parametersprocessorinterfacegetroutepathargument)

Returns route URI arguments, as a numerically indexed array. Each argument will be added to the route's path, separated by slashes.

### `ParametersProcessorInterface::getParameters()`

[](#parametersprocessorinterfacegetparameters)

This method must return an array, associative or not, of POST parameters that will be added to the request.

[![Bitdeli Badge](https://camo.githubusercontent.com/2205c03d90dd9ebdf488426f4e6e6a7b6d0a22a39fe038db8f7540f39797c5b7/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f6264756e6f676965722f786d6c72706362756e646c652f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Recently: every ~44 days

Total

6

Last Release

4560d ago

Major Versions

0.1.0 → 1.0.02013-07-11

1.0.0 → 2.0.02014-01-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/235928?v=4)[Bertrand Dunogier](/maintainers/bdunogier)[@bdunogier](https://github.com/bdunogier)

---

Top Contributors

[![bdunogier](https://avatars.githubusercontent.com/u/235928?v=4)](https://github.com/bdunogier "bdunogier (3 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

### Embed Badge

![Health badge](/badges/bdunogier-xmlrpcbundle/health.svg)

```
[![Health](https://phpackages.com/badges/bdunogier-xmlrpcbundle/health.svg)](https://phpackages.com/packages/bdunogier-xmlrpcbundle)
```

###  Alternatives

[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k246.0M11.1k](/packages/symfony-framework-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k181.3M2.2k](/packages/symfony-security-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
