PHPackages                             tourze/json-rpc-procedure-collect-bundle - 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. tourze/json-rpc-procedure-collect-bundle

ActiveSymfony-bundle[API Development](/categories/api)

tourze/json-rpc-procedure-collect-bundle
========================================

JSON-RPC过程收集模块

0.0.2(11mo ago)04MITPHPPHP ^8.1CI passing

Since Apr 27Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/tourze/json-rpc-procedure-collect-bundle)[ Packagist](https://packagist.org/packages/tourze/json-rpc-procedure-collect-bundle)[ RSS](/packages/tourze-json-rpc-procedure-collect-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (3)Used By (0)

JSON-RPC Procedure Collect Bundle
=================================

[](#json-rpc-procedure-collect-bundle)

[English](README.md) | [中文](README.zh-CN.md)

[![PHP Version](https://camo.githubusercontent.com/6518db1335bf20fdff07253dc6d6d0cec955b5fb6a8ef1382ac6d73687ecc07f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e312d626c7565)](https://php.net)[![Symfony Version](https://camo.githubusercontent.com/45add5320b4c7546d369a4f2b8ace75dc3a289590bfb49fe8a42d303031356a3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253345253344372e332d626c7565)](https://symfony.com)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE)[![Build Status](https://camo.githubusercontent.com/b0c6c6845a74cb65a7f0a32bdcfd8fbf80eeb40026c4029af424ab371c94b8bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d70617373696e672d627269676874677265656e)](#)[![Code Coverage](https://camo.githubusercontent.com/32855e94577df9d0a30995653b17d33a5fbfdf644518f96ea0374313397d19b7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d627269676874677265656e)](#)

A Symfony Bundle that collects all services marked as JSON-RPC methods and provides an API to query all available methods.

Features
--------

[](#features)

- Automatically collect all JSON-RPC methods marked with `#[MethodExpose]` attribute
- Provide `GetProcedureList` JSON-RPC method to retrieve all registered methods
- Support for method documentation and tagging via `#[MethodDoc]` and `#[MethodTag]` attributes
- Dependency injection integration for automatic service discovery

Installation
------------

[](#installation)

```
composer require tourze/json-rpc-procedure-collect-bundle
```

Bundle Registration
-------------------

[](#bundle-registration)

Add to `config/bundles.php`:

```
Tourze\JsonRPCProcedureCollectBundle\JsonRPCProcedureCollectBundle::class => ['all' => true],
```

Quick Start
-----------

[](#quick-start)

### Creating a JSON-RPC Method

[](#creating-a-json-rpc-method)

```
