PHPackages                             ycpfzf/apidoc - 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. ycpfzf/apidoc

ActiveLibrary[API Development](/categories/api)

ycpfzf/apidoc
=============

laravel api doc

0.9.7(3y ago)22482Apache-2.0PHPPHP &gt;=7.0.0

Since Jun 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mynameisfzf/apidoc)[ Packagist](https://packagist.org/packages/ycpfzf/apidoc)[ Docs](https://github.com/mynameisfzf/apidoc)[ RSS](/packages/ycpfzf-apidoc/feed)WikiDiscussions master Synced today

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

About
-----

[](#about)

This is an automatic API interface document generation tool based on laravel.

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

[](#requirements)

- PHP &gt;= 7.0.0
- Laravel &gt;= 5.5.0
- Fileinfo PHP Extension

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

[](#installation)

First

```
composer require ycpfzf/apidoc

```

Then run these commands to publish assets and config：

```
php artisan vendor:publish --provider="Ycpfzf\Apidoc\DocServiceProvider"

```

Config
------

[](#config)

The file config/admin.php contains an array of configurations, you can find the default configurations in there.

```
 'controller' => [

        'App\Http\Controllers\Api\Index'
    ],

```

Use
---

[](#use)

Add comments to the controller class, for example:

```
