PHPackages                             targettech/laravel-api-doc-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. targettech/laravel-api-doc-generator

ActiveLibrary[API Development](/categories/api)

targettech/laravel-api-doc-generator
====================================

Auto generate Laravel api documentation from form request rules, controllers and routes

513Blade

Since Sep 15Pushed 3y ago2 watchersCompare

[ Source](https://github.com/rawahamid/laravel-api-doc-generator)[ Packagist](https://packagist.org/packages/targettech/laravel-api-doc-generator)[ RSS](/packages/targettech-laravel-api-doc-generator/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Docs Generator
======================

[](#laravel-docs-generator)

Automatically generate api documentation for Laravel without writing annotations.

Requirements
------------

[](#requirements)

LangVersionPHP7.4 or 8.0Laravel6.\* or 8.\*Installation
------------

[](#installation)

You can install the package via composer:

```
composer require targettech/laravel-api-doc-generator --dev
```

You can publish the config file with:

```
php artisan vendor:publish --tag=request-docs-config
```

Usage
-----

[](#usage)

View in the browser on `/request-docs/`

or generate a static HTML

```
php artisan lrd:generate
```

Docs HTML is generated inside `docs/`.

Design pattern
--------------

[](#design-pattern)

In order for this plugin to work, you need to follow the design pattern by injecting the request class inside the controller. For extra documentation you can use markdown inside your controller method as well.

[![Design pattern](https://camo.githubusercontent.com/c8df93a2782634c01caca681fdf553fcddd534d3875b84f3122326b42fb292c7/68747470733a2f2f696d6775722e636f6d2f79586a71336a702e706e67)](https://camo.githubusercontent.com/c8df93a2782634c01caca681fdf553fcddd534d3875b84f3122326b42fb292c7/68747470733a2f2f696d6775722e636f6d2f79586a71336a702e706e67)

### Screenshots

[](#screenshots)

Generated API documentation

[![Preview](https://camo.githubusercontent.com/191d4984dfe4bca9d7d0799c2d39c0c7936f5493b778dc336b12318adb7f1de1/68747470733a2f2f696d6775722e636f6d2f384476424268732e706e67)](https://camo.githubusercontent.com/191d4984dfe4bca9d7d0799c2d39c0c7936f5493b778dc336b12318adb7f1de1/68747470733a2f2f696d6775722e636f6d2f384476424268732e706e67)

Try API

[![Preview](https://camo.githubusercontent.com/09e8a31bca324b79997e4e6bee5c3febc303f78b9216a3003d9006be52840c92/68747470733a2f2f696d6775722e636f6d2f6b634b56537a6d2e706e67)](https://camo.githubusercontent.com/09e8a31bca324b79997e4e6bee5c3febc303f78b9216a3003d9006be52840c92/68747470733a2f2f696d6775722e636f6d2f6b634b56537a6d2e706e67)

Testing
-------

[](#testing)

```
./vendor/bin/phpunit
```

Changelog
---------

[](#changelog)

- Initial Release

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa60e0afd9229a870628ac8ef69a23595d64c21cbe32cd6e965c46b16487ad16?d=identicon)[RawaHamid97](/maintainers/RawaHamid97)

---

Top Contributors

[![rawahamid](https://avatars.githubusercontent.com/u/27570598?v=4)](https://github.com/rawahamid "rawahamid (6 commits)")

### Embed Badge

![Health badge](/badges/targettech-laravel-api-doc-generator/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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