ereborcodeforge/mithrilphp
最新稳定版本:v0.1.4
Composer 安装命令:
composer require ereborcodeforge/mithrilphp
包简介
MithrilPHP is a lightweight and resilient PHP engine that silently protects applications, offering a solid core runtime, console, and HTTP foundation without dictating how your domain is built.
README 文档
README
__ __ __ ______ __ __ ______ __ __
/\ "-./ \ /\ \ /\__ _\ /\ \_\ \ /\ == \ /\ \ /\ \
\ \ \-./\ \ \ \ \ \/_/\ \/ \ \ __ \ \ \ __< \ \ \ \ \ \____
\ \_\ \ \_\ \ \_\ \ \_\ \ \_\ \_\ \ \_\ \_\ \ \_\ \ \_____\
\/_/ \/_/ \/_/ \/_/ \/_/\/_/ \/_/ /_/ \/_/ \/_____/ PHP
MithrilPHP
MithrilPHP is a lightweight and resilient PHP engine designed to silently protect applications.
Invisible by design, it provides a solid runtime foundation without imposing architectural decisions.
🎯 Purpose
MithrilPHP exists to be the engine behind frameworks, not the framework itself.
It provides the essential building blocks required to execute applications reliably, while remaining lightweight, explicit, and opinion-free.
🛡️ Design Philosophy
Inspired by the Mithril worn by Frodo, MithrilPHP follows a simple principle:
You should not feel it — until it saves you.
- The core protects execution, not business logic
- The domain remains sovereign
- The engine absorbs impact without dictating structure
⚙️ What MithrilPHP Is
- A core runtime engine
- A foundation for frameworks
- A silent execution layer
- A console and HTTP backbone
❌ What MithrilPHP Is Not
- A full framework
- A project skeleton
- An MVC solution
- A DDD or Clean Architecture implementation
Those responsibilities belong to frameworks built on top of MithrilPHP.
🔧 Core Responsibilities
- HTTP Kernel and routing execution
- Console Kernel and command execution
- Dependency Injection container
- Environment variable access
- Configuration loading
- Low-level abstractions required by frameworks
🪓 Ecosystem
MithrilPHP is designed to power opinionated frameworks.
The first official implementation is:
- Durin’s Forge — a framework that forges real applications on top of MithrilPHP
📦 Installation
composer require ereborcodeforge/mithrilphp ---  *Forged by EreborCodeForgee*
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-29