PHPackages                             phosphor/skeleton - 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. phosphor/skeleton

ActiveProject

phosphor/skeleton
=================

Phosphor 框架项目骨架 — AI 驱动的 PHP 应用起点

10PHP

Since Mar 19Pushed 2d agoCompare

[ Source](https://github.com/yuanxin32323/phosphor-skeleton)[ Packagist](https://packagist.org/packages/phosphor/skeleton)[ RSS](/packages/phosphor-skeleton/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Phosphor 项目
===========

[](#phosphor-项目)

> ✨ 基于 [Phosphor 框架](https://github.com/yuanxin32323/phosphor) 的 AI 驱动 PHP 应用

快速开始
----

[](#快速开始)

```
# 创建项目
composer create-project phosphor/skeleton my-project
cd my-project

# 配置环境
cp .env.example .env

# 启动开发服务器
php -S localhost:8080 -t public/

# 测试
curl http://localhost:8080/api/users
curl http://localhost:8080/admin/dashboard
```

AI 开发者
------

[](#ai-开发者)

请先阅读 [`.ai/AGENTS.md`](.ai/AGENTS.md) 获取完整工作指引。

目录结构
----

[](#目录结构)

```
my-project/
├── .ai/              ← AI 导航中心
│   ├── AGENTS.md     ← AI 工作指引
│   ├── MODE          ← 工作模式（默认 business）
│   └── rules/        ← 框架规则文档
├── apps/             ← 应用代码
│   ├── api/          ← API 应用（/api 前缀）
│   └── admin/        ← 管理后台（/admin 前缀）
├── shared/           ← 跨应用共享代码
├── config/           ← 配置文件
├── public/           ← Web 入口
├── storage/logs/     ← 日志
└── phosphor          ← CLI 工具

```

CLI 命令
------

[](#cli-命令)

```
php phosphor map         # 生成项目地图
php phosphor changelog   # 记录变更
php phosphor status      # 项目状态
php phosphor mode        # 查看/切换模式
```

许可证
---

[](#许可证)

MIT License

###  Health Score

21

—

LowBetter than 21% of packages

Maintenance65

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/phosphor-skeleton/health.svg)

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

PHPackages © 2026

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