# mpociot/laravel-apidoc-generator

Laravel API Documentation Generator

Repository: https://github.com/mpociot/laravel-apidoc-generator
Canonical: https://ross.abutalabs.com/products/laravel-apidoc-generator
Homepage: https://beyondco.de/docs/laravel-apidoc-generator/
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, postman
Last push: 2024-05-23T12:14:27+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3774, "days_push": 832, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3451, forks 598 (observed 2026-08-28T04:08:05.311045+00:00)

## What it is
A Laravel/Lumen package that automatically generates API documentation from your application's routes using annotations and strategies, outputting static HTML or Blade views plus a Postman collection. It runs via the `php artisan apidoc:generate` command and is extensible through custom strategy plugins.

## Use cases
- generate API documentation from Laravel routes
- create a Postman collection from my Laravel API
- document Lumen API endpoints automatically
- produce static HTML docs for a Laravel REST API
- extract request parameters and sample responses from controller doc blocks

## When to choose
- you have a Laravel or Lumen (or Dingo-based) API and want docs generated from route definitions and annotations
- you want an importable Postman collection generated alongside your docs
- you want customizable documentation generation via strategy plugins

## When to avoid
- your project is not built on Laravel/Lumen/Dingo
- you need OpenAPI/Swagger-first spec authoring rather than annotation-driven generation
- you need a framework-agnostic PHP documentation tool

## Facets
- artifact type: library
- maturity: maintenance
- function: api-documentation, documentation, cli
- domain: web-development, backend, documentation, apis, developer-tools
- platform: php, cli
- tags: laravel, lumen, postman, artisan-command, php, web-server

## Member repositories
- mpociot/laravel-apidoc-generator (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.311045+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:37:34.395234+00:00, confidence not recorded.
  - readme: https://github.com/mpociot/laravel-apidoc-generator (fetched 2026-08-28T04:08:05.311045+00:00, sha f176388ab043)
  - homepage: https://beyondco.de/docs/laravel-apidoc-generator/ (fetched 2026-08-29T09:31:22.161728+00:00, sha af73d7feaa52)
  - site_page: https://beyondco.de/docs/laravel-apidoc-generator/under-the-hood/how-it-works (fetched 2026-08-29T09:31:22.181036+00:00, sha 5647564539b7)
  - site_page: https://beyondco.de/about-us (fetched 2026-08-29T09:31:22.164110+00:00, sha 0ca14b140952)
  - site_page: https://beyondco.de/docs/laravel-apidoc-generator/getting-started/configuration (fetched 2026-08-29T09:31:22.167177+00:00, sha 28787c408a40)
  - site_page: https://beyondco.de/docs/laravel-apidoc-generator/getting-started/documenting-your-api (fetched 2026-08-29T09:31:22.169154+00:00, sha abb04e7eb4af)
  - site_page: https://beyondco.de/docs/laravel-apidoc-generator/getting-started/generating-documentation (fetched 2026-08-29T09:31:22.171098+00:00, sha bc9fb7c58dec)
  - site_page: https://beyondco.de/docs/laravel-apidoc-generator/getting-started/migrating (fetched 2026-08-29T09:31:22.172951+00:00, sha 28a243fa7352)
  - site_page: https://beyondco.de/docs/laravel-apidoc-generator/extending/plugins (fetched 2026-08-29T09:31:22.179078+00:00, sha 8d9d4eea0350)
  - site_page: https://beyondco.de/open-source (fetched 2026-08-29T09:31:22.165715+00:00, sha a637112a3111)
- Data as of 2026-08-30T08:39:29.467469+00:00.
