PHPackages                             arffsaad/lrpc - 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. arffsaad/lrpc

ActiveLibrary[API Development](/categories/api)

arffsaad/lrpc
=============

RPCs for Laravel. Directly call procedures from other Laravel services with Auto-discovery. Best for Microservices built with Laravel.

011[3 PRs](https://github.com/arffsaad/LRPC/pulls)PHPCI passing

Since Jul 27Pushed 5mo agoCompare

[ Source](https://github.com/arffsaad/LRPC)[ Packagist](https://packagist.org/packages/arffsaad/lrpc)[ RSS](/packages/arffsaad-lrpc/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

RPCs for Laravel
================

[](#rpcs-for-laravel)

Directly call procedures from other Laravel services with Auto-discovery. Best for Microservices built with Laravel.

[![Latest Version on Packagist](https://camo.githubusercontent.com/bfabfe5a9d3fc552f36236aa5fe2ec35c23d8f357af9cb147c09b5a3ae81e1fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726666736161642f6c7270632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arffsaad/lrpc)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a6ac21b5f29020a83bffb54a0e16168aa33ea0cef63f221d10502bc11be42007/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61726666736161642f6c7270632f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/arffsaad/lrpc/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/54a9a16a2d7d6ccf1b19d8fb5f39cf298dc5964410478ae637a2f31e2b76b846/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61726666736161642f6c7270632f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/arffsaad/lrpc/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/aa53dee401cbce685eb2ae35101e96f1fc0b4df44a9ffc4b4ecd3202678266e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61726666736161642f6c7270632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arffsaad/lrpc)

Use LRPC to define RPCs in your microservices to enable easy cross-service communications. This package was heavily inspired during my time at RunCloud, and I this is what I envisioned would be the perfect way to call different methods from another service with the least amount of friction, and with the least amount of tinkering between multiple services.

> This README is still WIP!!!

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

[](#installation)

You can install the package via composer:

```
composer require arffsaad/lrpc
```

You can publish the config file with:

```
php artisan vendor:publish --tag="lrpc-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="lrpc-views"
```

Usage
-----

[](#usage)

```
$lRPC = new ArffSaad\LRPC();
echo $lRPC->echoPhrase('Hello, ArffSaad!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Ariff Saad](https://github.com/arffsaad)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance48

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 57.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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/80538339?v=4)[Ariff Saad](/maintainers/ArffSaad)[@arffsaad](https://github.com/arffsaad)

---

Top Contributors

[![arffsaad](https://avatars.githubusercontent.com/u/80538339?v=4)](https://github.com/arffsaad "arffsaad (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/arffsaad-lrpc/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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