PHPackages                             monolith/framework - 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. monolith/framework

ActiveLibrary[Framework](/categories/framework)

monolith/framework
==================

Core component dependencies for the Monolith framework.

7.1(3y ago)01411PHP &gt;=8.1

Since Aug 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/monolith-php/framework)[ Packagist](https://packagist.org/packages/monolith/framework)[ RSS](/packages/monolith-framework/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (10)Versions (127)Used By (1)

Monolith PHP Web Development Framework
======================================

[](#monolith-php-web-development-framework)

**version: 7.0**

- PHP 8.1 mandatory

**version: 6.1**

This isn't a tool that should be adopted. It's a design project to experiment with ideas.

Goals
-----

[](#goals)

1. idiomatic language usage
    1. allows static-analysis without IDE extension or helpers
2. no compromise for tradition
    1. integration of established tools / standards generally avoided
    2. standards and conventions are good for integration but they're not good for questioning what you know and questioning how things are usually done.
3. grown like a garden, designed as a discovery process
    1. naive implementations are designed first
    2. algorithms become more complex only when pain points are experienced
    3. solve problems with the simplest implementation possible
4. can become feature-complete
    1. lack of ambition to solve all problems
    2. components are open for extension, closed for modification
5. smallest possible user-land api exposure
    1. final classes by default
    2. strong pressure to avoid inheritance

Installation
------------

[](#installation)

1. extract [the application skeleton](https://github.com/monolith-php/application-skeleton/archive/master.zip) to a new folder
2. run composer install

Collections 9.3
===============

[](#collections-93)

some basic info about collections, they're fancy

Component Bootstrapping 8.0
===========================

[](#component-bootstrapping-80)

information

Configuration 7.1
=================

[](#configuration-71)

goals:

- drop php dot env (uses global state so can't be used for multiple environments simultaneously in a runtime)
- add new configuration loader / reader
- keep env file conventions

warning:

config can be used in component boostrapping bind() methods but only within bound closures. the configuration tool needs the bootstrap bind() phase to set itself up.

Dependency Injection 9.4
========================

[](#dependency-injection-94)

basic di container

Error Handling 6.0
==================

[](#error-handling-60)

[![Build Status](https://camo.githubusercontent.com/dcc600bfbaa80da22f149fc20495e31ca6186ce5e87efddce8ae12af0b995587/68747470733a2f2f7472617669732d63692e6f72672f6d6f6e6f6c6974682d7068702f6572726f722d68616e646c696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/monolith-php/error-handling)

HTTP 12.1
=========

[](#http-121)

[![Build Status](https://camo.githubusercontent.com/0dcfce507854fbd7e576b7adb3e805f26fd19c32e8c1c08871677978c66000e7/68747470733a2f2f7472617669732d63692e6f72672f6d6f6e6f6c6974682d7068702f687474702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/monolith-php/http)

Relational Database 8.1
=======================

[](#relational-database-81)

Messaging 0.1
=============

[](#messaging-01)

[![Build Status](https://camo.githubusercontent.com/bc8872a4265118aed7ef304be41189e512347b64fafa0ea8ce9ae58e764a3443/68747470733a2f2f7472617669732d63692e6f72672f6d6f6e6f6c6974682d7068702f636f6d6d616e642d6275732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/monolith-php/command-bus)

Web Routing 23.2
================

[](#web-routing-232)

[![Build Status](https://camo.githubusercontent.com/e3f512690ebab8a2c2ce723cac0f6d56b2906350615ce2cafb7d905d6fcb5fc5/68747470733a2f2f7472617669732d63692e6f72672f6d6f6e6f6c6974682d7068702f7765622d726f7574696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/monolith-php/web-routing)

1. make collections final
2. fix these collections
3. move tests to phpunit

Todo
----

[](#todo)

under prefix('admin', get('/', ...)) the front-slash doesn't work

Web Sessions 16.0
=================

[](#web-sessions-160)

not verified secure, consider hazardous

Twig HTML Templating 6.0
========================

[](#twig-html-templating-60)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50% 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 ~12 days

Recently: every ~163 days

Total

126

Last Release

1388d ago

Major Versions

1.5 → 3.02018-09-21

3.0 → 4.02018-09-21

4.0 → 5.02018-09-21

5.109 → 6.02021-02-10

6.1 → 7.02022-05-08

PHP version history (6 changes)0.3PHP ^7.1

5.95PHP ^7.2

5.105PHP ^7.4

5.109PHP &gt;=7.4

6.0PHP &gt;=8

7.1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6da00bb361f9beaa0dbd9577dd2b3c35089dd5d6ae9a3b57003d09f7737739b0?d=identicon)[ShawnMcCool](/maintainers/ShawnMcCool)

---

Top Contributors

[![mitchellvanw](https://avatars.githubusercontent.com/u/3061428?v=4)](https://github.com/mitchellvanw "mitchellvanw (2 commits)")[![ShawnMcCool](https://avatars.githubusercontent.com/u/560749?v=4)](https://github.com/ShawnMcCool "ShawnMcCool (2 commits)")

---

Tags

frameworkmonolith

### Embed Badge

![Health badge](/badges/monolith-framework/health.svg)

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

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

68943.9k18](/packages/pestphp-pest-plugin-stressless)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.2k5](/packages/wpstarter-framework)

PHPackages © 2026

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