Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Laravel API Documentation Generator

License

NotificationsYou must be signed in to change notification settings

mpociot/laravel-apidoc-generator

Repository files navigation

Automatically generate your API documentation from your existing Laravel/Lumen/Dingo routes.

php artisan apidoc:generate

Latest Stable VersionTotal DownloadsLicensecodecov.ioScrutinizer Code QualityBuild StatusStyleCI

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 anapidoc.php file in yourconfig folder.

Lumen

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

Documentation

Check out the documentation at theBeyond Code homepage.

License

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

About

Laravel API Documentation Generator

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors88


[8]ページ先頭

©2009-2025 Movatter.jp