PHPackages                             amphp/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. [API Development](/categories/api)
4. /
5. amphp/rpc

ActiveLibrary[API Development](/categories/api)

amphp/rpc
=========

Remote procedure calls for PHP based on Amp.

v2.0.0(2y ago)131553MITPHPPHP &gt;=8.1CI failing

Since Feb 2Pushed 2y ago6 watchersCompare

[ Source](https://github.com/amphp/rpc)[ Packagist](https://packagist.org/packages/amphp/rpc)[ GitHub Sponsors](https://github.com/amphp)[ RSS](/packages/amphp-rpc/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (11)Versions (3)Used By (0)

rpc
===

[](#rpc)

This package allows to create proxy objects based on interfaces to call methods on an object living in a remote service.

Authentication isn't built-in, but can be implemented using middleware / interceptors.

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

[](#installation)

```
composer require amphp/rpc

```

Usage
-----

[](#usage)

### Server

[](#server)

```
