Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
ufo-cms/json-rpc-bundle
claude-code
cursor
symfony-bundle
json-rpc
rpc-server
compiler-pass
service-discovery
phpunit
backward-compatibility

This repository contains ufo-tech/json-rpc-bundle, a Symfony bundle that implements a JSON-RPC 2.0 server.

Install
php artisan boost:add-skill ufo-cms/json-rpc-bundle

Save this content to: AGENTS.md

# AGENTS.md — json-rpc-bundle

## Purpose
This repository contains `ufo-tech/json-rpc-bundle`, a Symfony bundle that implements a JSON-RPC 2.0 server.

## Stack
- PHP >= 8.3
- Symfony ^7.2
- PHPUnit 10.5

## Quick Start
```bash
composer install
vendor/bin/phpunit
```

## Architecture Notes
- RPC services implement `Ufo\\JsonRpcBundle\\ApiMethod\\Interfaces\\IRpcService`.
- Service discovery is done via compiler pass and collected in `ServiceMap`.
- Main request flow:
  1. `src/Controller/ApiController.php`
  2. `src/Server/RpcRequestHandler.php`
  3. `src/Server/RpcServer.php`

## Coding Rules
- Follow existing namespace/layout under `src/`.
- Keep public behavior backward-compatible unless explicitly requested.
- Add/update tests for behavior changes in `tests/`.
- Prefer small focused changes over broad refactors.

## Validation
Run before finishing changes:
```bash
vendor/bin/phpunit
```

## Useful Paths
- `src/DependencyInjection/CompilerPass/`
- `src/Server/`
- `src/ApiMethod/`
- `tests/Unit/`
- `install/packages/ufo_json_rpc.yaml`

AGENTS.md — json-rpc-bundle

Purpose

This repository contains ufo-tech/json-rpc-bundle, a Symfony bundle that implements a JSON-RPC 2.0 server.

Stack

  • PHP >= 8.3
  • Symfony ^7.2
  • PHPUnit 10.5

Quick Start

composer install
vendor/bin/phpunit

Architecture Notes

  • RPC services implement Ufo\\JsonRpcBundle\\ApiMethod\\Interfaces\\IRpcService.
  • Service discovery is done via compiler pass and collected in ServiceMap.
  • Main request flow:
    1. src/Controller/ApiController.php
    2. src/Server/RpcRequestHandler.php
    3. src/Server/RpcServer.php

Coding Rules

  • Follow existing namespace/layout under src/.
  • Keep public behavior backward-compatible unless explicitly requested.
  • Add/update tests for behavior changes in tests/.
  • Prefer small focused changes over broad refactors.

Validation

Run before finishing changes:

vendor/bin/phpunit

Useful Paths

  • src/DependencyInjection/CompilerPass/
  • src/Server/
  • src/ApiMethod/
  • tests/Unit/
  • install/packages/ufo_json_rpc.yaml
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource