PHPackages                             fredmeng/laravel-apidoc-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. fredmeng/laravel-apidoc-generator

ActiveLibrary[API Development](/categories/api)

fredmeng/laravel-apidoc-generator
=================================

Generate beautiful API documentation from your Laravel application

4.8.2(5y ago)0141MITPHPPHP &gt;=7.2.0

Since May 3Pushed 4y agoCompare

[ Source](https://github.com/fredmeng/laravel-apidoc-generator)[ Packagist](https://packagist.org/packages/fredmeng/laravel-apidoc-generator)[ Docs](http://github.com/mpociot/laravel-apidoc-generator)[ RSS](/packages/fredmeng-laravel-apidoc-generator/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (16)Versions (109)Used By (0)

Laravel API Documentation Generator
-----------------------------------

[](#laravel-api-documentation-generator)

Automatically generate your API documentation from your existing Laravel/Lumen/[Dingo](https://github.com/dingo/api) routes.

`php artisan apidoc:generate`

[![Latest Stable Version](https://camo.githubusercontent.com/bba71f22d782775019edd5f4bed7539a218433ba1b240f106df7192881a1b44a/68747470733a2f2f706f7365722e707567782e6f72672f6d706f63696f742f6c61726176656c2d617069646f632d67656e657261746f722f762f737461626c65)](https://packagist.org/packages/mpociot/laravel-apidoc-generator)[![Total Downloads](https://camo.githubusercontent.com/99c78134bd21ded802f02a27a608d5d56a3ed84d58f8ff3e13766674fd0459fb/68747470733a2f2f706f7365722e707567782e6f72672f6d706f63696f742f6c61726176656c2d617069646f632d67656e657261746f722f646f776e6c6f616473)](https://packagist.org/packages/mpociot/laravel-apidoc-generator)[![License](https://camo.githubusercontent.com/5c9f3944c2c3569fac0103d035f95f317981dfa63d61b4caa1d90e88a0a50137/68747470733a2f2f706f7365722e707567782e6f72672f6d706f63696f742f6c61726176656c2d617069646f632d67656e657261746f722f6c6963656e7365)](https://packagist.org/packages/mpociot/laravel-apidoc-generator)[![codecov.io](https://camo.githubusercontent.com/c98e2711203f0b61a8a4306e07fd49e080dbf9a3e203f3516151106a5ae74cd7/68747470733a2f2f636f6465636f762e696f2f6769746875622f6d706f63696f742f6c61726176656c2d617069646f632d67656e657261746f722f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/mpociot/laravel-apidoc-generator?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/36a7cf72482e6fb664d147972ee9cf8ef1f96a54b0136fc7b113240696b79c97/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d706f63696f742f6c61726176656c2d617069646f632d67656e657261746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mpociot/laravel-apidoc-generator/?branch=master)[![Build Status](https://camo.githubusercontent.com/0ffc08efeb5478bcde22dce1dcc2342fc97b1fc433590ae7d86e8c450468efc3/68747470733a2f2f7472617669732d63692e6f72672f6d706f63696f742f6c61726176656c2d617069646f632d67656e657261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mpociot/laravel-apidoc-generator)[![StyleCI](https://camo.githubusercontent.com/bc0002baa65e566617a950bdab9499c5698fe4cfbd49bd1affd8cd830a651533/68747470733a2f2f7374796c6563692e696f2f7265706f732f35373939393239352f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/57999295)

Installation
------------

[](#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

[](#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

[](#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
-------------

[](#documentation)

Check out the documentation at the [Beyond Code homepage](https://beyondco.de/docs/laravel-apidoc-generator/).

### License

[](#license)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 53.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Total

106

Last Release

2176d ago

Major Versions

1.7.0 → 2.0.02017-01-29

2.x-dev → 3.0.02018-10-21

3.17.1 → 4.0.0-alpha2019-10-18

3.x-dev → 4.0.12019-11-18

4.6.0 → v5.x-dev2020-04-10

PHP version history (3 changes)0.1.0PHP &gt;=7.0.0

1.1.1PHP &gt;=5.5.0

4.0.0-alphaPHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1fd01454a19180586747a1e858dc653a56ba7bff35b900c8c915f3a5acc00e18?d=identicon)[fredmeng](/maintainers/fredmeng)

---

Top Contributors

[![shalvah](https://avatars.githubusercontent.com/u/14361073?v=4)](https://github.com/shalvah "shalvah (546 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (273 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (21 commits)")[![MarnuLombard](https://avatars.githubusercontent.com/u/2191786?v=4)](https://github.com/MarnuLombard "MarnuLombard (15 commits)")[![zolotov88](https://avatars.githubusercontent.com/u/11463586?v=4)](https://github.com/zolotov88 "zolotov88 (14 commits)")[![gabrielpeixoto](https://avatars.githubusercontent.com/u/3699061?v=4)](https://github.com/gabrielpeixoto "gabrielpeixoto (14 commits)")[![lloricode](https://avatars.githubusercontent.com/u/8251344?v=4)](https://github.com/lloricode "lloricode (13 commits)")[![ScopeyNZ](https://avatars.githubusercontent.com/u/3260989?v=4)](https://github.com/ScopeyNZ "ScopeyNZ (12 commits)")[![icarojerry](https://avatars.githubusercontent.com/u/9601443?v=4)](https://github.com/icarojerry "icarojerry (10 commits)")[![robbieaverill](https://avatars.githubusercontent.com/u/5170590?v=4)](https://github.com/robbieaverill "robbieaverill (9 commits)")[![ezra-obiwale](https://avatars.githubusercontent.com/u/2762623?v=4)](https://github.com/ezra-obiwale "ezra-obiwale (9 commits)")[![golonix](https://avatars.githubusercontent.com/u/9950778?v=4)](https://github.com/golonix "golonix (8 commits)")[![badmike](https://avatars.githubusercontent.com/u/1019002?v=4)](https://github.com/badmike "badmike (8 commits)")[![phanan](https://avatars.githubusercontent.com/u/8056274?v=4)](https://github.com/phanan "phanan (7 commits)")[![grinry](https://avatars.githubusercontent.com/u/5575688?v=4)](https://github.com/grinry "grinry (5 commits)")[![sempixel](https://avatars.githubusercontent.com/u/1658628?v=4)](https://github.com/sempixel "sempixel (5 commits)")[![ewerkema](https://avatars.githubusercontent.com/u/16745495?v=4)](https://github.com/ewerkema "ewerkema (5 commits)")[![rudiedirkx](https://avatars.githubusercontent.com/u/168024?v=4)](https://github.com/rudiedirkx "rudiedirkx (5 commits)")[![fergthh](https://avatars.githubusercontent.com/u/9524225?v=4)](https://github.com/fergthh "fergthh (4 commits)")[![sangnguyenplus](https://avatars.githubusercontent.com/u/6972407?v=4)](https://github.com/sangnguyenplus "sangnguyenplus (4 commits)")

---

Tags

apilaraveldocumentation

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fredmeng-laravel-apidoc-generator/health.svg)

```
[![Health](https://phpackages.com/badges/fredmeng-laravel-apidoc-generator/health.svg)](https://phpackages.com/packages/fredmeng-laravel-apidoc-generator)
```

###  Alternatives

[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[mpociot/laravel-apidoc-generator

Generate beautiful API documentation from your Laravel application

3.5k3.1M12](/packages/mpociot-laravel-apidoc-generator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
