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

ActiveLibrary[API Development](/categories/api)

tao2581/apidocs
===============

Laravel API Documentation Generator

2.0.2(8y ago)012MITPHPPHP &gt;=5.4.0

Since Nov 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tao2581/apidocs)[ Packagist](https://packagist.org/packages/tao2581/apidocs)[ Docs](https://github.com/tao2581/apidocs)[ RSS](/packages/tao2581-apidocs/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

forked from f2m2/apidocs, add dingo/api support
-----------------------------------------------

[](#forked-from-f2m2apidocs-add-dingoapi-support)

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

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

This Laravel package provides an API Documentation generator based upon your Routes and 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": {
    "tao2581/apidocs": "dev-master"
}

```

Next, update Composer from the Terminal:

```
composer update

```

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.

```
'F2m2\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)

See installation:

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(){
     // ...
});

```

\######## Laravel 5.4 defaults to api prefix (`Route::prefix('api')`). If your routes/api.php looks like this...

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

```

... then the route for the generate command would be `api/v1`Otherwise it will be just `api`

##### DocBlock Example

[](#docblock-example)

Below is a docBlock example.

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

```

License
-------

[](#license)

See [LICENSE](LICENSE.md) file.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 86.8% 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 ~356 days

Total

4

Last Release

3116d ago

Major Versions

1.0.0 → 2.0.02015-07-25

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

2.0.0PHP &gt;=5.3.0

### Community

Maintainers

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

---

Top Contributors

[![f2m2rd](https://avatars.githubusercontent.com/u/1012932?v=4)](https://github.com/f2m2rd "f2m2rd (59 commits)")[![tao2581](https://avatars.githubusercontent.com/u/3303524?v=4)](https://github.com/tao2581 "tao2581 (5 commits)")[![eddturtle](https://avatars.githubusercontent.com/u/902607?v=4)](https://github.com/eddturtle "eddturtle (2 commits)")[![Artistan](https://avatars.githubusercontent.com/u/801349?v=4)](https://github.com/Artistan "Artistan (1 commits)")[![nickescobedo](https://avatars.githubusercontent.com/u/2837169?v=4)](https://github.com/nickescobedo "nickescobedo (1 commits)")

### Embed Badge

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

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

###  Alternatives

[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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