New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

mpociot/laravel-apidoc-generator

Generate beautiful API documentation from your Laravel application
3,193,498 3,443
Install
composer require mpociot/laravel-apidoc-generator
Latest Version:4.8.2
PHP:>=7.2.0
Laravel:5 · 6 · 7
License:MIT
Last Updated:May 23, 2024
Links: GitHub  ·  Packagist
Maintainer: mpociot

Laravel API Documentation Generator

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

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 the Beyond Code homepage.

License

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

Related Packages

knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

18,641,858 2,339
ovac/idoc

Generate beautiful API documentation from your Laravel application

497,068 185
metafox/scribe

Generate API documentation for humans from your Laravel codebase.✍

9,068 0
blasttech/laravel-apidoc-generator

Generate beautiful API documentation from your Laravel application

7,404 0
oxycoder/laravel-apidoc-generator

Generate beautiful API documentation from your Laravel application

3,143 4

Version History

Version Released PHP Laravel License
4.8.2 >=7.2.0 ^5.7|^6.0|^7.0 MIT
4.8.1 >=7.2.0 ^5.7|^6.0|^7.0 MIT
4.8.0 >=7.2.0 ^5.7|^6.0|^7.0 MIT
4.7.0 >=7.2.0 ^5.7|^6.0|^7.0 MIT
4.6.0 >=7.2.0 ^5.7|^6.0|^7.0 MIT
Pre-releases (2)
Version Released PHP Laravel License
4.0.0-rc1 >=7.2.0 ^5.7|^6.0 MIT
4.0.0-alpha >=7.2.0 ^5.7|^6.0 MIT