PHPackages                             horde/rpc - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. horde/rpc

ActiveHorde-library[Utility &amp; Helpers](/categories/utility)

horde/rpc
=========

RPC library

v3.0.0beta4(1mo ago)12.3k↑447.2%55LGPL-2.1-onlyPHPPHP ^8.2

Since Jul 31Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/horde/Rpc)[ Packagist](https://packagist.org/packages/horde/rpc)[ Docs](https://www.horde.org/libraries/Horde_Rpc)[ RSS](/packages/horde-rpc/feed)WikiDiscussions FRAMEWORK\_6\_0 Synced 3w ago

READMEChangelog (4)Dependencies (27)Versions (20)Used By (5)

Horde RPC Library
=================

[](#horde-rpc-library)

RPC adapters for Horde's API system. Modern implementations share a dispatch layer (`ApiProviderInterface`, `MethodInvokerInterface`) across protocols — write a provider once, serve it over JSON-RPC, MCP, and SOAP.

Protocols
---------

[](#protocols)

### JSON-RPC

[](#json-rpc)

Modern[`src/JsonRpc/`](src/JsonRpc/) — PSR-7/15/18, JSON-RPC [1.1](https://www.jsonrpc.org/historical/json-rpc-1-1-alt.html) and [2.0](https://www.jsonrpc.org/specification)Legacy[`lib/Horde/Rpc/Jsonrpc.php`](lib/Horde/Rpc/Jsonrpc.php)Docs[`doc/JSONRPC-USAGE.md`](doc/JSONRPC-USAGE.md)### MCP (Model Context Protocol)

[](#mcp-model-context-protocol)

Modern[`src/Mcp/`](src/Mcp/) — [MCP spec](https://modelcontextprotocol.io/specification/2025-11-25), Streamable HTTP transportDocs[`doc/MCP-USAGE.md`](doc/MCP-USAGE.md)### SOAP

[](#soap)

Modern[`src/Soap/`](src/Soap/) — PSR-15, ext-soap (optional) in WSDL-less modeLegacy[`lib/Horde/Rpc/Soap.php`](lib/Horde/Rpc/Soap.php)Docs[`doc/SOAP-USAGE.md`](doc/SOAP-USAGE.md)### XML-RPC

[](#xml-rpc)

Legacy[`lib/Horde/Rpc/Xmlrpc.php`](lib/Horde/Rpc/Xmlrpc.php) — requires ext-xmlrpc, will probably not work in most modern PHP installations [XML-RPC spec](http://xmlrpc.com/spec.md)### Delegation Protocols

[](#delegation-protocols)

These delegate to other Horde packages:

- **ActiveSync** — [`lib/Horde/Rpc/ActiveSync.php`](lib/Horde/Rpc/ActiveSync.php) → `horde/activesync`
- **WebDAV / CalDAV / CardDAV** — [`lib/Horde/Rpc/Webdav.php`](lib/Horde/Rpc/Webdav.php) → `horde/dav`
- **SyncML** — [`lib/Horde/Rpc/Syncml.php`](lib/Horde/Rpc/Syncml.php) → `horde/syncml` (deprecated)
- **PHPGroupware XML-RPC** — [`lib/Horde/Rpc/Phpgw.php`](lib/Horde/Rpc/Phpgw.php) (deprecated)

Shared Dispatch Layer
---------------------

[](#shared-dispatch-layer)

```
JsonRpcHandler ──┐
McpServer ───────┤── ApiProviderInterface / MethodInvokerInterface
SoapHandler ─────┘

```

### Providers

[](#providers)

[`CallableMapProvider`](src/JsonRpc/Dispatch/CallableMapProvider.php) - a generic map of callables to API names [`MathApiProvider`](src/JsonRpc/Dispatch/MathApiProvider.php) - an educational example API provider [`HordeRegistryApiProvider`](src/JsonRpc/Dispatch/HordeRegistryApiProvider.php) - Integrates the Horde Registry Inter-App API

All modern handlers implement both `RequestHandlerInterface` and `MiddlewareInterface` for flexible middleware stacking.

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance92

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community32

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~302 days

Recently: every ~322 days

Total

14

Last Release

56d ago

Major Versions

2.1.9 → 3.0.0alpha12021-02-24

PHP version history (7 changes)2.1.5PHP &gt;=5.3.0,&lt;=6.0.0alpha1

2.1.6PHP &gt;=5.3.0,&lt;=8.0.0alpha1

2.1.8PHP ^5.3 || ^7

3.0.0alpha1PHP ^7

v3.0.0alpha4PHP ^7.4 || ^8

v3.0.0beta1PHP ^8

v3.0.0beta2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c943a083635c28520599075eaea7ede2d743b7697b76e84d6bdc37e52cc8249b?d=identicon)[yunosh](/maintainers/yunosh)

![](https://www.gravatar.com/avatar/c931cd02664859360478593450d6c473a05bb12b209dfacfc534cd13257cc7ef?d=identicon)[ralflang](/maintainers/ralflang)

![](https://www.gravatar.com/avatar/e4f6c6771993db2ed500959b42353f6cf6a2ca0406d9617f7ae680f4504faa4a?d=identicon)[horde](/maintainers/horde)

![](https://www.gravatar.com/avatar/a7767adb66b45f2f05bcd44d49bc4e67efacd9ce05b161ce2d481d5dd6af025c?d=identicon)[mrubinsk](/maintainers/mrubinsk)

---

Top Contributors

[![yunosh](https://avatars.githubusercontent.com/u/379318?v=4)](https://github.com/yunosh "yunosh (237 commits)")[![mrubinsk](https://avatars.githubusercontent.com/u/66822?v=4)](https://github.com/mrubinsk "mrubinsk (81 commits)")[![ralflang](https://avatars.githubusercontent.com/u/646976?v=4)](https://github.com/ralflang "ralflang (27 commits)")[![slusarz](https://avatars.githubusercontent.com/u/381003?v=4)](https://github.com/slusarz "slusarz (20 commits)")[![midahp](https://avatars.githubusercontent.com/u/19747890?v=4)](https://github.com/midahp "midahp (4 commits)")[![wrobel](https://avatars.githubusercontent.com/u/10232?v=4)](https://github.com/wrobel "wrobel (4 commits)")[![renan](https://avatars.githubusercontent.com/u/28046?v=4)](https://github.com/renan "renan (3 commits)")[![thomasjfox](https://avatars.githubusercontent.com/u/1146758?v=4)](https://github.com/thomasjfox "thomasjfox (1 commits)")[![bklang](https://avatars.githubusercontent.com/u/167131?v=4)](https://github.com/bklang "bklang (1 commits)")[![duritong](https://avatars.githubusercontent.com/u/9511?v=4)](https://github.com/duritong "duritong (1 commits)")

---

Tags

psr-15soapjsonrpcjson-rpcactivesync

### Embed Badge

![Health badge](/badges/horde-rpc/health.svg)

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

###  Alternatives

[horde/kronolith

Calendar and scheduling application

101.3k4](/packages/horde-kronolith)[horde/horde

Horde base application

582.7k62](/packages/horde-horde)[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[horde/imp

Webmail application

261.1k](/packages/horde-imp)

PHPackages © 2026

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