PHPackages                             exclusivedev/laravel-request-docs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. exclusivedev/laravel-request-docs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

exclusivedev/laravel-request-docs
=================================

Automatically generate Laravel docs from request rules, controllers and routes

1.17(4y ago)04MITBladePHP ^7.4|^8.0

Since Aug 19Pushed 4y agoCompare

[ Source](https://github.com/exclusivedev/laravel-request-docs)[ Packagist](https://packagist.org/packages/exclusivedev/laravel-request-docs)[ Docs](https://github.com/rakutentech/laravel-request-docs)[ RSS](/packages/exclusivedev-laravel-request-docs/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (11)Versions (20)Used By (0)

 [ ![Laravel Request Docs](https://camo.githubusercontent.com/fd6650e2027d7265b156713bccd4653964f90d3efa40d4c56f3babab02648373/68747470733a2f2f696d6775722e636f6d2f396544545561492e706e67) ](https://github.com/rakutentech/laravel-request-docs)

 The Hassle-Free automatic API documentation generation for Laravel.
 A Swagger alernative.

**Fast:** Install on any Laravel Project

**Hassle Free:** Auto Generate API Documentation for request rules and parameters

**Analyze:** In build SQL query time analyzer, response time and headers output.

Features
--------

[](#features)

- Automatic routes fetching from Laravel Routes
- Automatic rules fetching from injected Request
- Support for Authorization Headers
- Support for SQL query, response time and memory consumption by request on Laravel
- Intelligent auto request builder using `faker.js`
- Display extra documentation using markdown

Read on Medium
==============

[](#read-on-medium)

Automatically generate api documentation for Laravel without writing annotations.

Read more:

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

[](#requirements)

LangVersionPHP7.4 or 8.0Laravel6.\* or 8.\* or 9.\*Installation
============

[](#installation)

You can install the package via composer:

```
composer require rakutentech/laravel-request-docs --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)

**SQL query profile**

[![Preview](https://camo.githubusercontent.com/40d371037b408ee06f38c40d1a454500aceeca04f121b875e25672e35b179890/68747470733a2f2f696d6775722e636f6d2f79386a54336a6a2e706e67)](https://camo.githubusercontent.com/40d371037b408ee06f38c40d1a454500aceeca04f121b875e25672e35b179890/68747470733a2f2f696d6775722e636f6d2f79386a54336a6a2e706e67)

**Resonse profile**

[![Preview](https://camo.githubusercontent.com/ccf7ae509f81da79e2b05eaf202619acf4459745ae8c951cf83d8488107fba1c/68747470733a2f2f696d6775722e636f6d2f55304a653935362e706e67)](https://camo.githubusercontent.com/ccf7ae509f81da79e2b05eaf202619acf4459745ae8c951cf83d8488107fba1c/68747470733a2f2f696d6775722e636f6d2f55304a653935362e706e67)

**Customize Headers**

[![Preview](https://camo.githubusercontent.com/969af0f324c4ea83efcc0eb422ecb14e919b2a0c1f1e0fe0ef26c66ff2b98b32/68747470733a2f2f696d6775722e636f6d2f357964745264382e706e67)](https://camo.githubusercontent.com/969af0f324c4ea83efcc0eb422ecb14e919b2a0c1f1e0fe0ef26c66ff2b98b32/68747470733a2f2f696d6775722e636f6d2f357964745264382e706e67)

Extra
=====

[](#extra)

You write extra documentation in markdown which will be rendered as HTML on the dashboard. Example of using it in controller

```
    /**
     * @lrd:start
     * #Hello markdown
     * ## Documentation for /my route
     * @lrd:end
     */
    public function index(MyIndexRequest $request): Resource
    {
```

Testing
=======

[](#testing)

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

Linting
=======

[](#linting)

```
./vendor/bin/phpcs --standard=phpcs.xml --extensions=php --ignore=tests/migrations config/ src/
```

Fixing lints

```
./vendor/bin/php-cs-fixer fix src/
./vendor/bin/php-cs-fixer fix config/
```

Changelog
=========

[](#changelog)

- Initial Release
- v1.9 Added improvements such as status code, response headers, custom request headers and fixed issues reported by users
- v1.10 Show PHP memory usage, gzip encoding fix
- v1.12 Bug Fix of id, and Laravel 9 support
- v1.13 Laravel 9 support
- v1.15 Adds Filter and fall back to regexp upon Exception

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 84.9% 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 ~11 days

Recently: every ~4 days

Total

18

Last Release

1584d ago

PHP version history (2 changes)1.0PHP ^7.3|^7.4|^8.0

1.12PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/67552236e30268ec48870df59c1cca0664a9cb0f8bf9606767e0dca35c1c668b?d=identicon)[tomer](/maintainers/tomer)

---

Top Contributors

[![kevincobain2000](https://avatars.githubusercontent.com/u/629055?v=4)](https://github.com/kevincobain2000 "kevincobain2000 (73 commits)")[![DeDmytro](https://avatars.githubusercontent.com/u/13836815?v=4)](https://github.com/DeDmytro "DeDmytro (3 commits)")[![kitloong](https://avatars.githubusercontent.com/u/7660346?v=4)](https://github.com/kitloong "kitloong (3 commits)")[![rawahamid](https://avatars.githubusercontent.com/u/27570598?v=4)](https://github.com/rawahamid "rawahamid (2 commits)")[![nimah79](https://avatars.githubusercontent.com/u/20343056?v=4)](https://github.com/nimah79 "nimah79 (2 commits)")[![Mello21century](https://avatars.githubusercontent.com/u/4740180?v=4)](https://github.com/Mello21century "Mello21century (1 commits)")[![ac-tom](https://avatars.githubusercontent.com/u/59668108?v=4)](https://github.com/ac-tom "ac-tom (1 commits)")[![exclusivedev](https://avatars.githubusercontent.com/u/73453963?v=4)](https://github.com/exclusivedev "exclusivedev (1 commits)")

---

Tags

laravelrakutentechlaravel-request-docs

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/exclusivedev-laravel-request-docs/health.svg)

```
[![Health](https://phpackages.com/badges/exclusivedev-laravel-request-docs/health.svg)](https://phpackages.com/packages/exclusivedev-laravel-request-docs)
```

###  Alternatives

[rakutentech/laravel-request-docs

Automatically generate Laravel docs from request rules, controllers and routes

7831.3M2](/packages/rakutentech-laravel-request-docs)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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