PHPackages                             qingbing/php-yaf-doc - 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. [Framework](/categories/framework)
4. /
5. qingbing/php-yaf-doc

ActiveLibrary[Framework](/categories/framework)

qingbing/php-yaf-doc
====================

php-yaf-doc，Yaf扩展框架编码提示文档

0301PHP

Since Apr 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/qingbing/php-yaf-doc)[ Packagist](https://packagist.org/packages/qingbing/php-yaf-doc)[ RSS](/packages/qingbing-php-yaf-doc/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-yaf-doc
===========

[](#php-yaf-doc)

php-yaf，yaf框架编码提示api文档

使用说明
----

[](#使用说明)

- yaf版本：3.0.1
- 提供 php-yaf 的各类的外部调用api
- 将该包加入到php-include文件或直接放入项目中，在编码中可以起到api提示信息的左右
- 该包仅仅是针对 php-yaf 扩展中各个类的调用定义，不进入项目编译等

使用方法
----

[](#使用方法)

### 1、 方法一

[](#1-方法一)

```
通过composer安装到项目上即可
composer require-dev qingbing/php-yaf-doc

```

### 2、 方法二

[](#2-方法二)

```
用git工具clone到本地，在编码时将该包加入到IDE的php-include路径，或直接放入项目中

```

### 3、 方法三

[](#3-方法三)

```
直接下载到本地，在编码时将该包加入到IDE的php-include路径，或直接放入项目中

```

参考链接
----

[](#参考链接)

- \[API-DOC\]
- \[Download\]
- \[Yaf cg-tools\]
- \[DOC\]
- \[DOC\]

php.ini Yaf 全局配置选项
------------------

[](#phpini-yaf-全局配置选项)

- yaf.environ\[product\] : PHP\_INI\_ALL,环境名称, 当用INI作为Yaf的配置文件时, 这个指明了Yaf将要在INI配置中读取的节的名字
- yaf.library\[NULL\] : PHP\_INI\_ALL,全局类库的目录路径
- yaf.cache\_config\[0\] : PHP\_INI\_SYSTEM,是否缓存配置文件(只针对INI配置文件生效), 打开此选项可在复杂配置的情况下提高性能
- yaf.name\_suffix\[1\] : PHP\_INI\_ALL,在处理Controller, Action, Plugin, Model的时候, 类名中关键信息是否是后缀式, 比如UserModel, 而在前缀模式下则是ModelUser
- yaf.name\_separator\[""\] : PHP\_INI\_ALL,在处理Controller, Action, Plugin, Model的时候, 前缀和名字之间的分隔符, 默认为空, 也就是UserPlugin, 加入设置为"\_", 则判断的依据就会变成:"User\_Plugin", 这个主要是为了兼容ST已有的命名规范
- yaf.forward\_limit\[5\] : PHP\_INI\_ALL,forward最大嵌套深度
- yaf.use\_namespace\[0\] : PHP\_INI\_SYSTEM,开启的情况下, Yaf将会使用命名空间方式注册自己的类, 比如Yaf\_Application将会变成Yaf\\Application
- yaf.use\_spl\_autoload\[0\] : PHP\_INI\_ALL,开启的情况下, Yaf在加载不成功的情况下, 会继续让PHP的自动加载函数加载, 从性能考虑, 除非特殊情况, 否则保持这个选项关闭

Class-List-Doc :
----------------

[](#class-list-doc-)

- Yaf\\Application
- Yaf\\Bootstrap\_Abstract
- Yaf\\Dispatcher
- Yaf\\Loader
- Yaf\\Request\_Abstract
- Yaf\\Request\\Http
- Yaf\\Request\\Simple
- Yaf\\Response\_Abstract
- Yaf\\Response\\Http
- Yaf\\Response\\Cli
- Yaf\\Controller\_Abstract
- Yaf\\Action\_Abstract
- Yaf\\Config\_Abstract
- Yaf\\Config\\Ini
- Yaf\\Config\\Simple
- Yaf\\View\\Simple
- Yaf\\Router
- Yaf\\Route\_Static
- Yaf\\Route\\Simple
- Yaf\\Route\\Supervar
- Yaf\\Route\\Rewrite
- Yaf\\Route\\Regex
- Yaf\\Route\\Map
- Yaf\\Plugin\_Abstract
- Yaf\\Registry
- Yaf\\Session
- Yaf\\Exception
- Yaf\\Exception\\StartupError
- Yaf\\Exception\\RouterFailed
- Yaf\\Exception\\DispatchFailed
- Yaf\\Exception\\LoadFailed
- Yaf\\Exception\\LoadFailed\\Module
- Yaf\\Exception\\LoadFailed\\Controller
- Yaf\\Exception\\LoadFailed\\Action
- Yaf\\Exception\\LoadFailed\\View
- Yaf\\Exception\\TypeError

Interface-List-Doc :
--------------------

[](#interface-list-doc-)

- Yaf\\View\_Interface
- Yaf\\Route\_Interface

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

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/9379d2ee4885074de75faa3fa12970614186826f762df3c4aa0905dc1ff3b513?d=identicon)[qingbing](/maintainers/qingbing)

---

Top Contributors

[![qingbing](https://avatars.githubusercontent.com/u/33932784?v=4)](https://github.com/qingbing "qingbing (1 commits)")

### Embed Badge

![Health badge](/badges/qingbing-php-yaf-doc/health.svg)

```
[![Health](https://phpackages.com/badges/qingbing-php-yaf-doc/health.svg)](https://phpackages.com/packages/qingbing-php-yaf-doc)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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