定制 nelmio/api-doc-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

nelmio/api-doc-bundle

最新稳定版本:v5.9.2

Composer 安装命令:

composer require nelmio/api-doc-bundle

包简介

Generates documentation for your REST API from attributes

README 文档

README

Build Status Codecov Total Downloads Latest Stable Version PHP Version License

The NelmioApiDocBundle bundle allows you to generate a decent documentation for your APIs.

Installation

Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:

composer require nelmio/api-doc-bundle

Documentation

Read the documentation on symfony.com

Migrate from 4.x to 5.0

To migrate from 4.x to 5.0, follow our guide.

This version comes with the following major changes:

  • The bundle now requires PHP 8.1 or higher.
  • Support for annotations has been removed in favor of PHP 8 attributes.
  • Minimum Symfony version is now 6.4.
  • Major cleanup and simplification of the codebase.

Migrate from 3.x to 4.0

To migrate from 3.x to 4.0, follow our guide.

Version 4.0 brings OpenAPI 3.0 support. If you want to stick to Swagger 2.0, you should use the version 3 of this bundle.

Migrate from 2.x to 3.0

To migrate from 2.x to 3.0, follow our guide.

Contributing

See CONTRIBUTING file.

Running the Tests

Install the Composer dependencies:

git clone https://github.com/nelmio/NelmioApiDocBundle.git
cd NelmioApiDocBundle
composer update

Then run the test suite:

composer phpunit

Sponsored by

JetBrains logo

JetBrains sponsors this project by providing an open-source license for their tools.

License

This bundle is released under the MIT license.

统计信息

  • 总下载量: 60.76M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2376
  • 点击次数: 1
  • 依赖项目数: 316
  • 推荐数: 39

GitHub 信息

  • Stars: 2327
  • Watchers: 62
  • Forks: 895
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-04-13