PHPackages                             lucidnetworks/jsonrpc - 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. lucidnetworks/jsonrpc

ActiveLibrary[API Development](/categories/api)

lucidnetworks/jsonrpc
=====================

Cliente y servidor json rpc

11291PHP

Since Jan 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rudignet/Laravel-JsonRpc)[ Packagist](https://packagist.org/packages/lucidnetworks/jsonrpc)[ RSS](/packages/lucidnetworks-jsonrpc/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

To install this app:

```
1 - Include "lucidnetworks/jsonrpc": "dev-master" on your require composer.json

3 - If you want activate the server
    3.1 - Add Lucid\Jsonrpc\JsonrpcServiceProvider::class to your providers array
    3.2 - Run 'php artisan vendor:publish
    3.3 - Configure options in config/jsonrpc
4 - Optionally add 'Jsonrpc' => Lucid\Jsonrpc\JsonrpcFacade::class to your app.php aliases for use Jsonrpc as a shortcut

```

How to use A - if you have added 'Jsonrpc' =&gt; Lucid\\Jsonrpc\\JsonrpcFacade::class on your app-&gt;aliases $json = App::make('jsonrpc',array('server' =&gt; \[Server\_Url\], 'http\_method' =&gt; 'GET','key' =&gt; \[Your\_Secret\_Key\])); B - If you haven't added Jsonrpc to your aliases $json = new Lucid\\Jsonrpc\\Jsonrpc(\[Server\_Url\],\[GET or POST\],\[Your\_Secret\_Key\]);

```
    $json->send([Resolver],[Method],[Params])  //Resolver must be an existent configured resolver, Params must be an array
    $json->send returns a JsonResponse object

    Method must be called as ClassName.MethodName ,remote method must be static, you can change the default resolver in the config file
    Default resolver is \{class}Controller if you call Test.foo you are calling \TestController::foo($param1,$param2...) because {class} is replaced by ClassName
    You can create your custom resolvers on the config file to point where you want

```

\[Configuration file (For server)\]

```
enabled => (bool) Enable or disable server webservice
prefix => (string) Route where webservice is located
methods => (array) Avaliable http methods on server (GET,POST,PUT,DELETE)
resolvers => (array) Array with resolverName => resolverTemplate, the resolver is a template, it replace {class} for the called class, if you don't use {class} tag controller name will be fix
allowed => (array) Array with Ip/Mask => KEY for allowed clients, use localhost for local request,  example '192.168.1.1/32' => 'SECRETKEY'

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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://www.gravatar.com/avatar/d1bf23a4df913f5945c08a5ae7c3aff8651541cc3d2a7a42a1b93daadf49ded6?d=identicon)[rudigtm](/maintainers/rudigtm)

### Embed Badge

![Health badge](/badges/lucidnetworks-jsonrpc/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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