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

ActiveLibrary[Framework](/categories/framework)

onion/framework
===============

A minimal PSR-compliant framework

2.2.1(7y ago)34471[3 PRs](https://github.com/phOnion/framework/pulls)4MITPHPPHP ^7.2

Since Aug 26Pushed 2mo agoCompare

[ Source](https://github.com/phOnion/framework)[ Packagist](https://packagist.org/packages/onion/framework)[ RSS](/packages/onion-framework/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (10)Versions (23)Used By (4)

phOnion - lightweight PSR-7 framework
=====================================

[](#phonion---lightweight-psr-7-framework)

[![Join the chat at https://gitter.im/phOnion/framework](https://camo.githubusercontent.com/c12ae33c18812006fffd92220dc0504b0425cf61e2994c6ca3cb232845166f57/68747470733a2f2f6261646765732e6769747465722e696d2f70684f6e696f6e2f6672616d65776f726b2e737667)](https://gitter.im/phOnion/framework?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

---

[![Latest Stable Version](https://camo.githubusercontent.com/0fa43d675f4173854ed3f5f32045f93a11949ced859412675b980dd6188c435c/68747470733a2f2f706f7365722e707567782e6f72672f6f6e696f6e2f6672616d65776f726b2f762f737461626c65)](https://packagist.org/packages/onion/framework)[![License](https://camo.githubusercontent.com/1a08912b6099babece19346799793aff789be2e4baefdaf0fc368c53286a51a6/68747470733a2f2f706f7365722e707567782e6f72672f6f6e696f6e2f6672616d65776f726b2f6c6963656e7365)](https://packagist.org/packages/onion/framework)[![Travis Build Status](https://camo.githubusercontent.com/d993ecc347a1685c7494f92df4f830154b902d92595ae80864a5f6b81d8d1f5a/68747470733a2f2f7472617669732d63692e6f72672f70684f6e696f6e2f6672616d65776f726b2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/phOnion/framework)[![AppVeyor Build status](https://camo.githubusercontent.com/7fef479d516992a6a777b57fa56db2aaa2321156f68e3adc5d52c541495f696f/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f673934386778346d30737978653735373f7376673d74727565)](https://ci.appveyor.com/project/DaGhostman/framework)[![Mutation testing badge](https://camo.githubusercontent.com/1a437b5fc4e613bd6d207a74a4f92dc05440a4c42daa1914f4fd261f950e5dc2/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f70684f6e696f6e2f6672616d65776f726b2f6d6173746572)](https://infection.github.io)[![StyleCI](https://camo.githubusercontent.com/36d81ae26d3d08680b34df19ad4abd31b3a70560c36b3936ee2cff659da2655c/68747470733a2f2f7374796c6563692e696f2f7265706f732f36363238363834342f736869656c64)](https://styleci.io/repos/66286844)[![codecov](https://camo.githubusercontent.com/52e33d967c5ffa68e41f4c8f9383ac15175d978521610498160792a42098b596/68747470733a2f2f636f6465636f762e696f2f67682f70684f6e696f6e2f6672616d65776f726b2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/phOnion/framework)[![Codacy Badge](https://camo.githubusercontent.com/27459d7279f7a928f366b85e10dcaac01857e332856eea214b95ff359a1ac01c/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3431363239613435313837633431316161363166363333326234303137613933)](https://www.codacy.com/app/daghostman-dimitrov/framework?utm_source=github.com&utm_medium=referral&utm_content=phOnion/framework&utm_campaign=Badge_Grade)[![Total Downloads](https://camo.githubusercontent.com/3495455620201387e5dd0e0a90f26c16463c58776e0731dcdaf5feadeac26581/68747470733a2f2f706f7365722e707567782e6f72672f6f6e696f6e2f6672616d65776f726b2f646f776e6c6f616473)](https://packagist.org/packages/onion/framework)

[Documentation](http://phOnion.github.io/framework)[Getting Started - Bootstrap Application](https://github.com/phOnion/bootstrap)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance56

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

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

Recently: every ~41 days

Total

17

Last Release

2738d ago

Major Versions

1.1.0 → 2.0.0-rc12018-04-22

PHP version history (4 changes)1.0.0-alphaPHP ^5.6 || ^7.0

1.0.0-betaPHP ^7.0

1.0.0-rc1PHP ^7.0 || ^7.1

2.0.0-rc1PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ebe6247144a757a92ffa4f6844481b44b2c3be096076560e14a14e89053719b5?d=identicon)[DaGhostman](/maintainers/DaGhostman)

---

Top Contributors

[![DaGhostman](https://avatars.githubusercontent.com/u/2286949?v=4)](https://github.com/DaGhostman "DaGhostman (745 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

frameworkmicro-frameworkphp7psrpsr-7frameworkpsr-15micro-framework

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[chubbyphp/chubbyphp-framework

A minimal, highly performant middleware PSR-15 microframework built with as little complexity as possible, aimed primarily at those developers who want to understand all the vendors they use.

13544.4k4](/packages/chubbyphp-chubbyphp-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[igniphp/framework

Swoole, PSR-7, PSR-15 modular micro anti-framework.

2651.0k1](/packages/igniphp-framework)[antidot-fw/framework

Anti.Framework library

183.2k5](/packages/antidot-fw-framework)

PHPackages © 2026

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