PHPackages                             yaangvu/laravel-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. yaangvu/laravel-rpc

ActiveLibrary[API Development](/categories/api)

yaangvu/laravel-rpc
===================

Easy implementation of the JSON-RPC 2.0 server for the Laravel framework.

5.3.2(3y ago)07MITPHP

Since Mar 22Pushed 3y agoCompare

[ Source](https://github.com/YaangVu/laravel-rpc)[ Packagist](https://packagist.org/packages/yaangvu/laravel-rpc)[ Docs](https://sajya.github.io)[ RSS](/packages/yaangvu-laravel-rpc/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (9)Versions (29)Used By (0)

 [![Laravel JSON RPC](https://camo.githubusercontent.com/aa1879649e7948af6737a863e29592fc521b312f821bfbb1e547536f90575fde/68747470733a2f2f73616a79612e6769746875622e696f2f6173736574732f696d672f6c61726176656c2d73616a79612e737667)](https://camo.githubusercontent.com/aa1879649e7948af6737a863e29592fc521b312f821bfbb1e547536f90575fde/68747470733a2f2f73616a79612e6769746875622e696f2f6173736574732f696d672f6c61726176656c2d73616a79612e737667)

 [![Latest Version on Packagist](https://camo.githubusercontent.com/0097ee9b483495392b1f5bd9b2ed9f93cbc0d9d5871daf2f9d85d3c7ccaaf181/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616a79612f7365727665722e737667)](https://packagist.org/packages/sajya/server)[![GitHub Tests Action Status](https://github.com/sajya/server/actions/workflows/run-tests.yml/badge.svg)](https://github.com/sajya/server/actions/workflows/run-tests.yml)[![codecov](https://camo.githubusercontent.com/eb68b81147ad6f9f074be567d36d1eb39bc6cb8552b06d42864160917433b954/68747470733a2f2f636f6465636f762e696f2f67682f73616a79612f7365727665722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/sajya/server)[![Total Downloads](https://camo.githubusercontent.com/de3584f7e8e8051a23bb466c6e4e91383f180cc95c040082a549183c68b12cdc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616a79612f7365727665722e737667)](https://packagist.org/packages/sajya/server)

Introduction
------------

[](#introduction)

Sajya is an open-source project that makes it easy to implement the JSON-RPC 2.0 server specification for Laravel. With Sajya, you can quickly and easily set up a JSON-RPC server that supports all of the features of the JSON-RPC 2.0 specification, including validation of parameters, support for batch and notification requests, and more.

#### Key features:

[](#key-features)

- Easy to use: Sajya is designed to be simple to install and use, so you can get your server up and running quickly.
- Customizable: You can customize many aspects of your server, including the routes, parameter validation, and error messages.
- Well-documented: The project comes with complete documentation that includes detailed instructions and a reference guide for all of its features.
- Route Model Binding: You can quickly and easily define routes parameters for your models.
- Validation of parameters: The project automatically validates incoming requests to ensure they meet your specifications. You can also customize the error messages that are returned if the validation fails.
- Support for batch and notification requests: The project supports both batch requests, where multiple requests are combined into a single HTTP request, and notification requests, where the server does not generate a response.

Official Documentation
----------------------

[](#official-documentation)

You can find the complete documentation for Sajya on its [website](https://sajya.github.io/). The documentation includes detailed instructions on how to install and use Sajya, as well as a reference guide for all of its features.

Changelog
---------

[](#changelog)

To learn about the latest updates and changes to Sajya, please see the [CHANGELOG](CHANGELOG.md). The changelog includes a list of all the changes made to Sajya in each release, along with the corresponding version number.

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

[](#contributing)

We welcome contributions to Sajya. If you are interested in contributing, please see [CONTRIBUTING](CONTRIBUTING.md) for details on how to get started. Contributions can include bug fixes, new features, and improvements to the documentation.

Maintainers
-----------

[](#maintainers)

Sajya is developed and maintained by [Alexandr Chernyaev](https://github.com/tabuna). Alexandr is the main author and maintainer of Sajya, and is responsible for coordinating the development and release of new versions.

License
-------

[](#license)

Sajya is released under the MIT License. Please see the [License File](LICENSE.md) for more information. The MIT License is a permissive license that allows you to use and modify Sajya for any purpose, as long as you include the original copyright and license notice in your copies.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 92.7% 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 ~41 days

Recently: every ~49 days

Total

26

Last Release

1248d ago

Major Versions

0.0.2 → 1.0.02020-08-11

1.1.0 → 2.0.02020-09-08

2.4.0 → 3.0.02021-04-01

3.0.0 → 4.0.02021-08-17

4.0.6 → 5.0.02022-02-10

PHP version history (2 changes)0.0.1PHP ^7.4

2.1.0PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

[![tabuna](https://avatars.githubusercontent.com/u/5102591?v=4)](https://github.com/tabuna "tabuna (203 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![vanodevium](https://avatars.githubusercontent.com/u/16780069?v=4)](https://github.com/vanodevium "vanodevium (3 commits)")[![SadElephant](https://avatars.githubusercontent.com/u/7434276?v=4)](https://github.com/SadElephant "SadElephant (2 commits)")[![SimonMacIntyre](https://avatars.githubusercontent.com/u/1260938?v=4)](https://github.com/SimonMacIntyre "SimonMacIntyre (1 commits)")[![akki-io](https://avatars.githubusercontent.com/u/34255218?v=4)](https://github.com/akki-io "akki-io (1 commits)")[![YaangVu](https://avatars.githubusercontent.com/u/14012135?v=4)](https://github.com/YaangVu "YaangVu (1 commits)")

---

Tags

apirpcjson-prc

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M133](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M62](/packages/knuckleswtf-scribe)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k9.5M89](/packages/openai-php-laravel)[sajya/server

Easy implementation of the JSON-RPC 2.0 server for the Laravel framework.

2422.0M6](/packages/sajya-server)[kyon147/laravel-shopify

Shopify package for Laravel to aide in app development

485302.1k](/packages/kyon147-laravel-shopify)[sajya/client

HTTP client and server for JSON-RPC 2.0

211.0M1](/packages/sajya-client)

PHPackages © 2026

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