PHPackages                             yuinijika/anon-core - 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. yuinijika/anon-core

ActiveLibrary[Framework](/categories/framework)

yuinijika/anon-core
===================

Anon Framework Core

v1.0.0-alpha(2mo ago)02MITPHP &gt;=8.0

Since May 10Compare

[ Source](https://github.com/YuiNijika/AnonCore)[ Packagist](https://packagist.org/packages/yuinijika/anon-core)[ RSS](/packages/yuinijika-anon-core/feed)WikiDiscussions Synced 3w ago

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

Anon Framework Next Core
========================

[](#anon-framework-next-core)

这是一个现代化、轻量级的 PHP 后端 API 框架核心库。内置了基础组件，用于开发 RESTful API。

核心特性
----

[](#核心特性)

- **路由系统**：支持路由组、中间件、参数捕获及 RESTful 路由映射。
- **门面模式 (Facade)**：无需依赖注入即可静态调用底层动态对象。
- **依赖注入容器**：自动解析类依赖，支持单例与实例绑定。
- **JWT 无状态认证**：提供 JSON Web Token 签发与验证，支持多端多密钥隔离，适配 API 场景。
- **结构化配置**：支持通过项目根目录下的 `anon.config.php` 管理应用配置，并兼容 `.env` 作为敏感值来源。

环境要求
----

[](#环境要求)

- PHP &gt;= 8.1
- PDO 扩展 (及其对应的数据库驱动如 pdo\_mysql, pdo\_sqlite 等)
- JSON 扩展
- OpenSSL 扩展

安装
--

[](#安装)

通常情况下，你不应该直接克隆或安装本核心库。推荐使用 [Anon Framework Next Skeleton](https://github.com/yuinijika/anon) 作为你的应用脚手架，核心库将作为依赖被自动安装。

如果你想在现有的项目中独立使用该核心库：

```
composer require yuinijika/anon-core
```

文档
--

[](#文档)

完整的框架使用文档和 API 参考，请参阅随 Skeleton 提供的 VitePress 文档。

许可证 (License)
-------------

[](#许可证-license)

本项目遵循 [MIT 许可证](LICENSE)。

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance85

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

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

Unknown

Total

1

Last Release

76d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/165134730?v=4)[鼠子](/maintainers/YuiNijika)[@YuiNijika](https://github.com/YuiNijika)

### Embed Badge

![Health badge](/badges/yuinijika-anon-core/health.svg)

```
[![Health](https://phpackages.com/badges/yuinijika-anon-core/health.svg)](https://phpackages.com/packages/yuinijika-anon-core)
```

###  Alternatives

[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[alizharb/laravel-modular

A professional, framework-agnostic modular architecture for Laravel 11+. Features zero-config autoloading, 29+ Artisan command overrides, and seamless Vite integration.

211.6k9](/packages/alizharb-laravel-modular)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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