PHPackages                             anstou/command - 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. [CLI &amp; Console](/categories/cli)
4. /
5. anstou/command

ActiveLibrary[CLI &amp; Console](/categories/cli)

anstou/command
==============

快速创建适用于yaf的运行命令

1.3(5y ago)07MITPHPPHP &gt;=7.4

Since Nov 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/anstou/command)[ Packagist](https://packagist.org/packages/anstou/command)[ RSS](/packages/anstou-command/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

command
=======

[](#command)

适用于yaf的命令运行,可创建自己的需求命令

Command功能演示
-----------

[](#command功能演示)

```
需要将项目下的a文件复制到项目根目录
且注意a文件中的$config变量为正确的yaf config路径

```

命令php a make:command 指令名:运行口令php a route:list #仅在安装了anstou/route才有效,否则报错php a make:module {module\_name} #创建模块php a make:control {module}/{control} #创建控制器,如果模块不存在会顺便创建模块php a make:action {module}/{control} {action} #创建控制器动作

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2012d ago

PHP version history (2 changes)1.2.2PHP &gt;=7.2

1.3PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/697e3831d00b019690f6363976b7d88bce3a7cf4ed52aea1f2828ab86530cfa4?d=identicon)[anstou](/maintainers/anstou)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/anstou-command/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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