PHPackages                             insanelab/apidocs - 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. insanelab/apidocs

ActiveLibrary[API Development](/categories/api)

insanelab/apidocs
=================

Laravel API Documentation Generator

2.1.3(8y ago)25.1k2MITPHPPHP &gt;=5.6.0

Since Nov 25Pushed 8y ago2 watchersCompare

[ Source](https://github.com/InsaneLab/apidocs)[ Packagist](https://packagist.org/packages/insanelab/apidocs)[ Docs](https://github.com/insanelab/apidocs)[ RSS](/packages/insanelab-apidocs/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (2)Versions (9)Used By (0)

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

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

This Laravel package provides an API Documentation generator based upon your Routes, Form requests with optional Controller Method DocBlock comments.

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

[](#installation)

#### Laravel 5.0

[](#laravel-50)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `f2m2/apidocs`.

```
"require-dev": {
    "insanelab/apidocs": "dev-master"
}

```

Next, update Composer from the Terminal:

```
composer update --dev

```

Once the packaage has installed, the final step is to add the service provider. Open `config/app.php`, and add a new item to the providers array.

```
'Insanelab\Apidocs\ApidocsServiceProvider',

```

Run the `artisan` command from the Terminal to see the new `apidocs` command.

```
php artisan apidocs:generate

```

Create a copy of the API Docs Config by running this `artisan` command:

```
php artisan vendor:publish

```

#### Laravel 4.2

[](#laravel-42)

Our fork does not support Laravel below 5.0

Notes
-----

[](#notes)

##### Route Prefix

[](#route-prefix)

Create a prefix for your routes with an API Version. i.e. 'api/v1

```
Route::group(['prefix' => 'api/v1'], function(){
     // ...
});

```

##### DocBlock Example

[](#docblock-example)

Below is a docBlock example.

```
/**
* Display the specified resource.
* GET /user/{id}
*
* @param integer $id The id of a User
* @return Response
*/
public function show($id)
{
    // Display User
}

```

License
-------

[](#license)

See [LICENSE](LICENSE.md) file.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 81.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 ~175 days

Recently: every ~160 days

Total

7

Last Release

3182d ago

Major Versions

1.0.0 → 2.0.02015-07-25

PHP version history (3 changes)1.0.0PHP &gt;=5.4.0

2.0.0PHP &gt;=5.3.0

2.1.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22680745?v=4)[InsaneLab](/maintainers/InsaneLab)[@InsaneLab](https://github.com/InsaneLab)

---

Top Contributors

[![f2m2rd](https://avatars.githubusercontent.com/u/1012932?v=4)](https://github.com/f2m2rd "f2m2rd (59 commits)")[![mateusz-peczkowski](https://avatars.githubusercontent.com/u/6013516?v=4)](https://github.com/mateusz-peczkowski "mateusz-peczkowski (9 commits)")[![eddturtle](https://avatars.githubusercontent.com/u/902607?v=4)](https://github.com/eddturtle "eddturtle (2 commits)")[![euventura](https://avatars.githubusercontent.com/u/378751?v=4)](https://github.com/euventura "euventura (1 commits)")[![nickescobedo](https://avatars.githubusercontent.com/u/2837169?v=4)](https://github.com/nickescobedo "nickescobedo (1 commits)")

### Embed Badge

![Health badge](/badges/insanelab-apidocs/health.svg)

```
[![Health](https://phpackages.com/badges/insanelab-apidocs/health.svg)](https://phpackages.com/packages/insanelab-apidocs)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6277.0k5](/packages/riclep-laravel-storyblok)[rapidez/core

Rapidez Core

1822.4k65](/packages/rapidez-core)

PHPackages © 2026

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