PHPackages                             silverorange/xml\_rpc\_ajax - 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. silverorange/xml\_rpc\_ajax

ActiveLibrary[API Development](/categories/api)

silverorange/xml\_rpc\_ajax
===========================

Client-side XML-RPC framework.

3.1.1(3y ago)21↑2900%7[1 PRs](https://github.com/silverorange/xml-rpc-ajax/pulls)LGPL-2.1JavaScriptPHP &gt;=5.2.1

Since Jan 17Pushed 1y ago14 watchersCompare

[ Source](https://github.com/silverorange/xml-rpc-ajax)[ Packagist](https://packagist.org/packages/silverorange/xml_rpc_ajax)[ Docs](https://github.com/silverorange/xml-rpc-ajax)[ RSS](/packages/silverorange-xml-rpc-ajax/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (8)Used By (0)

Asynchronous XML-RPC Client for JavaScript
==========================================

[](#asynchronous-xml-rpc-client-for-javascript)

This package allows you to make XML-RPC requests and receive XML-RPC responses asynchronously using JavaScript. The asynchronous calls are handled by the JavaScript `XMLHttpRequest` object that allows XML-RPC calls to be made without causing a full page request.

This XML-RPC client library is derived from the version 0.10 of the Sajax PHP library written by ModernMethod, Inc. and licensed under a BSD style license. See  for more details. This package itself is released under the LGPL.

Remote procedure calls from the XML-RPC client occur as follows:

```
var client = new XML_RPC_Client('https://www.myhost.com/my/endpoint');
client.callProcedure(
  'myMethodName',
  function (response) {
    // parsed XML-RPC response
    console.log(response);
  },
  [arg1, arg2, arg3],
  [type1, type2, type3]
);
```

The second parameter to `callProcedure()` is a callback that is fired when the XML-RPC response is received and parsed.

Types are passed as an array of strings. If types are not passed, type inference is used. JavaScript types do not map directly to XML-RPC types so this may not always work perfectly.

The client-side XML-RPC response parser creates an appropriately typed JavaScript object automatically. This means arrays are returned as `Array`values and structs are returned as `Object` hash-maps.

There are several JavaScript objects being used:

XML\_RPC\_Client
----------------

[](#xml_rpc_client)

Makes asynchronous XML-RPC client requests

XML\_RPC\_Response
------------------

[](#xml_rpc_response)

Parses and unmarshells XML-RPC responses

XML\_RPC\_Request
-----------------

[](#xml_rpc_request)

Creates XML-RPC requests

XML\_RPC\_Exception
-------------------

[](#xml_rpc_exception)

Thrown in various situations by this package

Types
-----

[](#types)

Each XML-RPC data type has a corresponding JavaScript object to handle marshalling and unmarshalling data.

- XML\_RPC\_Date
- XML\_RPC\_Array
- XML\_RPC\_String,
- XML\_RPC\_Double
- XML\_RPC\_Int
- XML\_RPC\_Boolean
- XML\_RPC\_Struct

Installation
------------

[](#installation)

Make sure the silverorange composer repository is added to the `composer.json`for the project and then run:

```
composer require silverorange/xml-rpc-ajax
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 68.1% 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 ~428 days

Recently: every ~504 days

Total

7

Last Release

1237d ago

Major Versions

1.0.14 → 2.0.02017-07-24

2.0.0 → 3.0.02018-04-19

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/166810?v=4)[Colin Viebrock](/maintainers/cviebrock)[@cviebrock](https://github.com/cviebrock)

---

Top Contributors

[![gauthierm](https://avatars.githubusercontent.com/u/120511?v=4)](https://github.com/gauthierm "gauthierm (130 commits)")[![nrfredrickson](https://avatars.githubusercontent.com/u/4965439?v=4)](https://github.com/nrfredrickson "nrfredrickson (24 commits)")[![charleswaddell](https://avatars.githubusercontent.com/u/1316827?v=4)](https://github.com/charleswaddell "charleswaddell (10 commits)")[![cviebrock](https://avatars.githubusercontent.com/u/166810?v=4)](https://github.com/cviebrock "cviebrock (7 commits)")[![keithburgoyne](https://avatars.githubusercontent.com/u/299928?v=4)](https://github.com/keithburgoyne "keithburgoyne (6 commits)")[![Qcode](https://avatars.githubusercontent.com/u/1542145?v=4)](https://github.com/Qcode "Qcode (5 commits)")[![nburka](https://avatars.githubusercontent.com/u/1284966?v=4)](https://github.com/nburka "nburka (3 commits)")[![GervaisdeM](https://avatars.githubusercontent.com/u/963514?v=4)](https://github.com/GervaisdeM "GervaisdeM (3 commits)")[![isagrant](https://avatars.githubusercontent.com/u/49716?v=4)](https://github.com/isagrant "isagrant (1 commits)")[![m-mitchell](https://avatars.githubusercontent.com/u/169674?v=4)](https://github.com/m-mitchell "m-mitchell (1 commits)")[![wittman](https://avatars.githubusercontent.com/u/101092?v=4)](https://github.com/wittman "wittman (1 commits)")

---

Tags

ajaxxmlrpc

### Embed Badge

![Health badge](/badges/silverorange-xml-rpc-ajax/health.svg)

```
[![Health](https://phpackages.com/badges/silverorange-xml-rpc-ajax/health.svg)](https://phpackages.com/packages/silverorange-xml-rpc-ajax)
```

###  Alternatives

[phpxmlrpc/phpxmlrpc

A php library for building xmlrpc clients and servers

2435.2M47](/packages/phpxmlrpc-phpxmlrpc)[lstrojny/fxmlrpc

Fast and tiny XML/RPC client with bridges for various HTTP clients

1425.6M32](/packages/lstrojny-fxmlrpc)[pubnub/pubnub

This is the official PubNub PHP SDK repository.

1335.1M17](/packages/pubnub-pubnub)[hieu-le/wordpress-xmlrpc-client

A PHP client for Wordpress websites that closely implement the XML-RPC WordPress API with full test suite built in

116161.2k2](/packages/hieu-le-wordpress-xmlrpc-client)[laminas/laminas-xmlrpc

Fully-featured XML-RPC server and client implementations

252.3M19](/packages/laminas-laminas-xmlrpc)[agungsugiarto/codeigniter4-cors

Send CORS Headers in a CodeIgniter 4 application.

6525.3k2](/packages/agungsugiarto-codeigniter4-cors)

PHPackages © 2026

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