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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?