yoanm/symfony-jsonrpc-params-sf-constraints-doc 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yoanm/symfony-jsonrpc-params-sf-constraints-doc

最新稳定版本:v2.0.2

Composer 安装命令:

composer require yoanm/symfony-jsonrpc-params-sf-constraints-doc

包简介

Symfony bundle for easy Symfony constraints to JSON-RPC documentation transformation

README 文档

README

License Code size Dependabot Status Last commit

Scrutinizer Build Status Scrutinizer Code Quality Codacy Badge

CI codecov Symfony Versions

Latest Stable Version Packagist PHP version

Symfony bundle for easy Symfony constraints to JSON-RPC documentation transformation

Symfony bundle for yoanm/jsonrpc-params-symfony-constraint-doc-sdk

Versions

  • Symfony v3/4 - PHP >=7.1 : ^v0.X
  • Symfony v4/5 - PHP >=7.2 : ^v1.0
  • Symfony v4.4/5.4/6.x - PHP ^8.0 : ^v1.1
  • Symfony v5.4/6.4/7.x - PHP ^8.0 : ^v2.0

How to use

Once configured, your project will automatically create documentation for JSON-RPC params

See below how to configure it.

Configuration

Behat demo app configuration folders can be used as examples.

  • Add the bundles in your config/bundles.php file:

    // config/bundles.php
    return [
        ...
        Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
        Yoanm\SymfonyJsonRpcHttpServer\JsonRpcHttpServerBundle::class => ['all' => true],
        Yoanm\SymfonyJsonRpcHttpServerDoc\JsonRpcHttpServerDocBundle::class => ['all' => true],
        Yoanm\SymfonyJsonRpcParamsSfConstraintsDoc\JsonRpcParamsSfConstraintsDocBundle::class => ['all' => true],
        ...
    ];
  • Configure yoanm/symfony-jsonrpc-http-server as described on yoanm/symfony-jsonrpc-http-server documentation.

  • Configure yoanm/symfony-jsonrpc-http-server-doc as described on yoanm/symfony-jsonrpc-http-server-doc documentation.

  • Query your project at documentation endpoint and you should see JSON-RPC params documentation for each methods

 

Contributing

See contributing note

统计信息

  • 总下载量: 33.67k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 3

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-21