Laravel API文档生成器

Laravel API文档生成器。「Laravel API Documentation Generator」

  • 所有者: mpociot/laravel-apidoc-generator
  • 平台: Linux, Mac, Windows
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Laravel API Documentation Generator

Automatically generate your API documentation from your existing Laravel/Lumen/Dingo routes. Here's what the output looks like.

php artisan apidoc:generate

Latest Stable VersionTotal Downloads
License
codecov.io
Scrutinizer Code Quality
Build Status
StyleCI

Installation

PHP 7.2 and Laravel/Lumen 5.7 or higher are required.

If your application does not meet these requirements, you can check out the 3.x branch for older releases.

composer require --dev mpociot/laravel-apidoc-generator

Laravel

Publish the config file by running:

php artisan vendor:publish --provider="Mpociot\ApiDoc\ApiDocGeneratorServiceProvider" --tag=apidoc-config

This will create an apidoc.php file in your config folder.

Lumen

  • When using Lumen, you will need to run composer require mpociot/laravel-apidoc-generator instead.
  • Register the service provider in your bootstrap/app.php:
$app->register(\Mpociot\ApiDoc\ApiDocGeneratorServiceProvider::class);
  • Copy the config file from vendor/mpociot/laravel-apidoc-generator/config/apidoc.php to your project as config/apidoc.php. Then add to your bootstrap/app.php:
$app->configure('apidoc');

Documentation

Check out the documentation at ReadTheDocs. Don't forget to check out the migration guide if you're coming from v3 to v4.

License

The Laravel API Documentation Generator is free software licensed under the MIT license.

主要指标

概览
名称与所有者mpociot/laravel-apidoc-generator
主编程语言PHP
编程语言PHP (语言数: 2)
平台Linux, Mac, Windows
许可证MIT License
所有者活动
创建于2016-05-03 20:20:16
推送于2024-05-23 12:14:27
最后一次提交2020-11-12 12:44:44
发布数102
最新版本名称4.8.2 (发布于 )
第一版名称0.1.0 (发布于 )
用户参与
星数3.5k
关注者数67
派生数606
提交数1.1k
已启用问题?
问题数465
打开的问题数35
拉请求数283
打开的拉请求数21
关闭的拉请求数68
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?