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 3w 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 31% 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

2062d 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

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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