New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cline/rpc

RPC implementation for PHP supporting JSON-RPC 2.0 and XML-RPC with OpenRPC specification support
4,379
Install
composer require cline/rpc
Latest Version:6.0.0
PHP:^8.5.0
Laravel:10 – 13
License:MIT
Last Updated:Jul 6, 2026
Links: GitHub  ·  Packagist
Maintainer: faustbrian

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads


Production-ready JSON-RPC 2.0 and XML-RPC server/client implementation with full OpenRPC specification support. Build type-safe RPC APIs with Laravel integration, automatic documentation, and built-in schema validation.

Requirements

Requires PHP 8.4+

Installation

composer require cline/rpc

Documentation

  • Getting Started - Installation, configuration, and first RPC server
  • Servers - Creating and configuring JSON-RPC servers
  • Methods - Implementing RPC methods with validation and resources
  • Clients - Building type-safe RPC clients with Saloon

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.

Related Packages

larananas/lumen-json-rpc

Framework-free JSON-RPC 2.0 server library for modern PHP.

190 3
barbushin/laravel-swoole-jsonrpc

JSON-RPC server and client based on swoole, for laravel and lumen framework.

8 1
sajya/server

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

2,121,833 242
sajya/client

HTTP client and server for JSON-RPC 2.0

1,041,064 21
dfreer/zillow

Laravel 5 Zillow api wrapper. This code is a fork from vinceg/zillow

28,882 2

Version History

Version Released PHP Laravel License
6.0.0 ^8.5.0 ^10.0 || ^11.0 || ^12.62 || ^13.0 MIT
5.0.4 ^8.5.0 ^10.0 || ^11.0 || ^12.55 || ^13.0 MIT
5.0.3 ^8.5.0 ^10.0 || ^11.0 || ^12.55 || ^13.0 MIT
5.0.2 ^8.5.0 ^10.0 || ^11.0 || ^12.55 || ^13.0 MIT
5.0.1 ^8.5.0 ^10.0 || ^11.0 || ^12.55 || ^13.0 MIT