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,199,689 3,440

Larablocks Analysis

mpociot/laravel-apidoc-generator works with Laravel 5, 6 and 7 (latest release 4.8.2, May 28, 2020), all past end of life (the last on Sep 6, 2022): no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, 6 and 7, past end of life since Sep 6, 2022
  • No release in the last 12 months (last: May 28, 2020)
  • 8,424 downloads a month (needs 10,000)
  • 3,440 GitHub stars (at least 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: May 28, 2020.
  • No releases in the last 12 months.
  • First released: May 3, 2016.
  • Monthly downloads: 8,424.
  • 54 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 4, 2026.

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.✍

19,669,360 2,340
ovac/idoc

Generate beautiful API documentation from your Laravel application

499,321 184
g-six/l5-api-documentor

Generate beautiful API documentation from your Laravel application

893 0
johannesschobel/dingodocs

Automatically generate an API documentation for your Dingo/API application

462 1
gilsonsouza/lara-doc-generator

Generate beautiful API documentation from your Laravel application

9 0

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