PHPackages                             oploshka/rpc-core - 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. oploshka/rpc-core

ActiveLibrary[API Development](/categories/api)

oploshka/rpc-core
=================

1.0.0(5y ago)1472proprietaryPHPPHP &gt;=7.3CI failing

Since Oct 9Pushed 4y agoCompare

[ Source](https://github.com/oploshka/Rpc-core)[ Packagist](https://packagist.org/packages/oploshka/rpc-core)[ RSS](/packages/oploshka-rpc-core/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (17)Used By (2)

RpcCore
=======

[](#rpccore)

- [1.Installation](#block1)
- [2. Features](#block2)
- [3. Usage](#block3)
- [4. Code Quality](#block5)
- [5. Author](#block6)
- [6. Special Thanks](#block6)
- [7. License](#block7)

1.Installation
--------------

[](#1installation)

The recommended way to install is through [Composer](http://getcomposer.org). Run the following command to install it:

```
php composer.phar require oploshka/rpc-core
```

2. Features
-----------

[](#2-features)

**Simplicity**

- simple implementations are available out of the box.

**Scalability**

- Ability to write your own processing.
- Possibility to combine your own and built-in solutions
- Possibility of step-by-step override.

3. Usage
--------

[](#3-usage)

Sample code:

```
$MethodStorage  = new \Oploshka\Rpc\MethodStorage();

$MethodStorage->add('TestMethod1', '\\RpcMethodPath\\TestMethod1');
$MethodStorage->add('TestMethod2', '\\RpcMethodPath\\TestMethod2');

// init MultipartJsonRpc_v0_1
$rpcInitData = [
  'methodStorage'   => $MethodStorage                                           ,
  'reform'          => new \Oploshka\Reform\ReformDebug()                            ,
  'dataLoader'      => new \Oploshka\RpcDataLoader\PostMultipartFieldJson()     ,
  'dataFormatter'   => new \Oploshka\RpcDataFormatter\MultipartJsonRpc_v0_1()   ,
  'returnFormatter' => new \Oploshka\RpcReturnFormatter\MultipartJsonRpc_v0_1() ,
  'responseClass'   => new \Oploshka\Rpc\Response()                             ,
];
$Rpc = new \Oploshka\Rpc\Core($rpcInitData);
$Rpc->applyHeaderSettings();
$Rpc->applyPhpSettings();

$returnJson = $Rpc->startProcessingRequest();

echo $returnJson;
```

More info in docs

4. Testing
----------

[](#4-testing)

Testing has been done using PHPUnit. Code has been tested to be PHP 7.0.

5. Author
---------

[](#5-author)

Andrey Tyurin

-

6. Special Thanks
-----------------

[](#6-special-thanks)

I would like to thank all the people who know me and surround me.

7. License
----------

[](#7-license)

"Rpc-core" is licensed under the MIT license.

```
Copyright (c) 2018 Andrey Tyurin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~48 days

Recently: every ~94 days

Total

15

Last Release

2099d ago

Major Versions

0.4.4 → 1.0.02020-08-13

PHP version history (3 changes)0.0.1PHP &gt;=5.4.0

0.3.0PHP &gt;=7.2.0

1.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e7f8dd78e7a98e68722f5b810a557b74e5097c97536de2c2a781f4832e1cdfd?d=identicon)[oploshka](/maintainers/oploshka)

---

Top Contributors

[![oploshka](https://avatars.githubusercontent.com/u/43810171?v=4)](https://github.com/oploshka "oploshka (80 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

517.9M7](/packages/avalara-avataxclient)[alexacrm/dynamics-webapi-toolkit

Web API toolkit for Microsoft Dynamics 365 and Dynamics CRM

81324.1k1](/packages/alexacrm-dynamics-webapi-toolkit)

PHPackages © 2026

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