cline/rpc

RPC implementation for PHP supporting JSON-RPC 2.0 and XML-RPC with OpenRPC specification support
4,129
Install
composer require cline/rpc
Latest Version:6.0.0
PHP:^8.5.0
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.

172 3
barbushin/laravel-swoole-jsonrpc

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

8 1
php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,312 160
atehnix/laravel-vk-requester

Laravel package for Vk.com API

3,446 74
darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

40,654,937 2,935