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

ActiveLibrary[API Development](/categories/api)

phpyii/php-apidoc
=================

php接口文档项目

211CSS

Since Feb 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/phpyii/php-apidoc)[ Packagist](https://packagist.org/packages/phpyii/php-apidoc)[ RSS](/packages/phpyii-php-apidoc/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-apidoc
==========

[](#php-apidoc)

php接口文档项目（基于phalapi修改）

实现功能：支持只提供接口文档不提供接口

[demo](http://demo.phalapi.net/docs.php)

环境支持
====

[](#环境支持)

php版本 &gt;= 5.3.3

安装
--

[](#安装)

```

composer create-project phpyii/php-apidoc:dev-master

```

配置
--

[](#配置)

1、访问路径配置到public下

2、config/app.php中可以配置项目名、访问密码等

3、src/app下为接口项目

生成离线文档
------

[](#生成离线文档)

php ./public/index.php

脚本执行完毕！离线文档保存路径为：/path/to/apidoc/public/docs

效果图
---

[](#效果图)

[![](https://camo.githubusercontent.com/25c9525feb1c3a6357f235a7cf136d3aea3bf60d/687474703a2f2f63646e372e6f6b61796170692e636f6d2f7965737965736170695f32303230303331303232353935325f64333139636331393761333166386633353232613832363433626633316436302e706e67)](https://camo.githubusercontent.com/25c9525feb1c3a6357f235a7cf136d3aea3bf60d/687474703a2f2f63646e372e6f6b61796170692e636f6d2f7965737965736170695f32303230303331303232353935325f64333139636331393761333166386633353232613832363433626633316436302e706e67)

[![](https://camo.githubusercontent.com/5527af06fbe4aa96d19d698a35d20866c6f2fd79/687474703a2f2f63646e372e6f6b61796170692e636f6d2f7965737965736170695f32303230303431373134353333335f65383039366634316630616331306466636433333766616434666465626664622e706e67)](https://camo.githubusercontent.com/5527af06fbe4aa96d19d698a35d20866c6f2fd79/687474703a2f2f63646e372e6f6b61796170692e636f6d2f7965737965736170695f32303230303431373134353333335f65383039366634316630616331306466636433333766616434666465626664622e706e67)

感谢
--

[](#感谢)

感谢开源项目[phalapi](https://github.com/phalapi/phalapi)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

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/e926df688069316e2429d928f3949ca65906ee8fc801d58eaafbeacf9d8efc26?d=identicon)[pgyf](/maintainers/pgyf)

---

Top Contributors

[![pgyf](https://avatars.githubusercontent.com/u/3365344?v=4)](https://github.com/pgyf "pgyf (12 commits)")

---

Tags

apiapi-docapidocdoc

### Embed Badge

![Health badge](/badges/phpyii-php-apidoc/health.svg)

```
[![Health](https://phpackages.com/badges/phpyii-php-apidoc/health.svg)](https://phpackages.com/packages/phpyii-php-apidoc)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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