PHPackages                             mbunge/php-application - 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. mbunge/php-application

ActiveLibrary

mbunge/php-application
======================

This package provides an easy way to create a PHP Application.

0.0.1-RC.1(5y ago)00[1 PRs](https://github.com/mbunge/php-application/pulls)MITPHPPHP ^8.0.0

Since Dec 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mbunge/php-application)[ Packagist](https://packagist.org/packages/mbunge/php-application)[ Docs](https://github.com/mbunge/php-attributes)[ RSS](/packages/mbunge-php-application/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

PHP Application
===============

[](#php-application)

[![Total Downloads](https://camo.githubusercontent.com/7b662f37e1f53c4c163a4dfa2f9f08ef8babc9d235acc5d1f94262c7bc919155/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d62756e67652f7068702d6170706c69636174696f6e)](https://packagist.org/packages/mbunge/php-application)[![Total Downloads](https://camo.githubusercontent.com/17c74f88166c929d3777848e0f0005234200c3fa4995f186d02f9015f42a6022/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d62756e67652f7068702d6170706c69636174696f6e)](https://packagist.org/packages/mbunge/php-application)[![Latest Stable Version](https://camo.githubusercontent.com/5bfdab6ecfd9b1a6eec6d1df4c452261a080d5db76bfe45bec598dbdda79a9df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d62756e67652f7068702d6170706c69636174696f6e)](https://packagist.org/packages/mbunge/php-application)[![License](https://camo.githubusercontent.com/583695e400148279226a563d658ea57876b43d308c1be67dee62f088f925e75f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d62756e67652f7068702d6170706c69636174696f6e)](https://packagist.org/packages/mbunge/php-application)

This package provides an easy way to create a PHP Application.

Features
--------

[](#features)

- PSR-14 Events
- PSR-11 Container
- PSR-7 compatibility

See [Upcoming features](https://github.com/mbunge/php-application/issues?q=is%3Aissue+is%3Aopen+label%3A%22upcoming+feature%22) of next release.

Concept
-------

[](#concept)

The [Application](./src/Application.php) acts as some kind of front controller and initiates and execute a controller for a specific context like HTTP, CLI, etc

The application is not aware of concrete implementation details of controller

### Context controller

[](#context-controller)

[Application controller](./src/ApplicationController.php) executes application logic for a specific context and is not related to MVC-Controller

Logic depend on the field of use

- Front-Controller
- middleware handler
- use-case or interceptor handler
- framework (http, cli, db) controller
- etc.

### Controller decorator

[](#controller-decorator)

Controller decorators add more additional behaviors without changing context controller and is able to deal with frameworks like DI-Containers, routers, event dispatches, API-Clients etc.

Install
-------

[](#install)

Via Composer

```
$ composer require mbunge/php-application
```

Usage
-----

[](#usage)

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Deployment
----------

[](#deployment)

Only maintainers are allowed to deploy new versions!

1. Run `composer run release` which will run tests and on success update changelog, package version and creates a release tag
2. switch to master branch and merge develop branch
3. Run `composer run deploy` which will run tests and on success push tags, master branch and develop branch

Security
--------

[](#security)

If you discover any security related issues, please email [marco\_bunge@web.de](mailto:marco_bunge@web.de) instead of using the issue tracker.

Credits
-------

[](#credits)

- [Marco Bunge](https://github.com/mbunge)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

1964d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/mbunge-php-application/health.svg)

```
[![Health](https://phpackages.com/badges/mbunge-php-application/health.svg)](https://phpackages.com/packages/mbunge-php-application)
```

PHPackages © 2026

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