PHPackages                             ereborcodeforge/mithrilphp - 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. ereborcodeforge/mithrilphp

ActiveLibrary[Framework](/categories/framework)

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.

v1.0.1(3mo ago)17MITPHPPHP ^8.3

Since Dec 29Pushed 3mo agoCompare

[ Source](https://github.com/EreborCodeForge/mithrilphp)[ Packagist](https://packagist.org/packages/ereborcodeforge/mithrilphp)[ Docs](https://github.com/EreborCodeForge/mithrilphp)[ RSS](/packages/ereborcodeforge-mithrilphp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (10)Used By (0)

```
 __    __     __     ______   __  __     ______     __     __
/\ "-./  \   /\ \   /\__  _\ /\ \_\ \   /\  == \   /\ \   /\ \
\ \ \-./\ \  \ \ \  \/_/\ \/ \ \  __ \  \ \  __<   \ \ \  \ \ \____
 \ \_\ \ \_\  \ \_\    \ \_\  \ \_\ \_\  \ \_\ \_\  \ \_\  \ \_____\
  \/_/  \/_/   \/_/     \/_/   \/_/\/_/   \/_/ /_/   \/_/   \/_____/ PHP

```

MithrilPHP
==========

[](#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
---------

[](#-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
--------------------

[](#️-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
---------------------

[](#️-what-mithrilphp-is)

- A **core runtime engine**
- A foundation for frameworks
- A silent execution layer
- A console and HTTP backbone

---

❌ What MithrilPHP Is Not
------------------------

[](#-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
-----------------------

[](#-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
-----------

[](#-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
--------------

[](#-installation)

```
composer require ereborcodeforge/mithrilphp

---

![Forge CLI Preview](docs/images/image.png)

*Forged by EreborCodeForgee*
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance78

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

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 ~3 days

Total

7

Last Release

118d ago

Major Versions

v0.1.4 → v1.0.02026-01-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f5abcef1798019113953fcf9c64d1cd0ea51daaed285543dbb4ad340ddbda18?d=identicon)[Thalesrup](/maintainers/Thalesrup)

---

Top Contributors

[![Thalesrup](https://avatars.githubusercontent.com/u/45312085?v=4)](https://github.com/Thalesrup "Thalesrup (18 commits)")

---

Tags

httpphpconsoleframeworkroutingenginemithrilerebor

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ereborcodeforge-mithrilphp/health.svg)

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

###  Alternatives

[utopia-php/framework

A simple, light and advanced PHP HTTP framework

295618.4k9](/packages/utopia-php-framework)[utopia-php/http

A simple, light and advanced PHP HTTP framework

2962.8k2](/packages/utopia-php-http)

PHPackages © 2026

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