PHPackages                             solophp/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. [HTTP &amp; Networking](/categories/http)
4. /
5. solophp/application

ActiveLibrary[HTTP &amp; Networking](/categories/http)

solophp/application
===================

Application bootstrap with PSR-15 middleware pipeline

v3.1.0(2mo ago)085MITPHPPHP ^8.2

Since Oct 18Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/SoloPHP/Application)[ Packagist](https://packagist.org/packages/solophp/application)[ RSS](/packages/solophp-application/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (20)Versions (9)Used By (0)

Solo Application
================

[](#solo-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ea907c209b5679354b22ecf0d232138f383499b83a922a42d8104d192513f959/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6c6f7068702f6170706c69636174696f6e2e737667)](https://packagist.org/packages/solophp/application)[![License](https://camo.githubusercontent.com/104dc1df51def5856887c58a1789abd40fb97d614b1e2b37bf3861a78b39ce36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736f6c6f7068702f6170706c69636174696f6e2e737667)](https://github.com/solophp/application/blob/main/LICENSE)[![PHP Version](https://camo.githubusercontent.com/f77ce3938ec1a4d91f00f8a927a267e056edafe904d04af32e1660f7fca0bd2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736f6c6f7068702f6170706c69636174696f6e2e737667)](https://packagist.org/packages/solophp/application)[![Coverage](https://camo.githubusercontent.com/b3545ae1bcdb4ea486f71f87b43001e82dd21933bc8035d44601706c851265da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d627269676874677265656e2e737667)](https://github.com/solophp/application)

Application bootstrap with PSR-15 middleware pipeline.

A lightweight, PSR-compliant application kernel that wires together your container, router, middleware, and HTTP layer with zero configuration overhead.

Features
--------

[](#features)

- PSR-15 middleware pipeline
- PSR-11 container integration
- Service providers for dependency registration
- Flexible route handlers (controllers, invokables, callables)
- Zero framework lock-in — uses only PSR interfaces

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

[](#installation)

```
composer require solophp/application
```

Requirements
------------

[](#requirements)

- PHP 8.2+
- PSR-7 implementation (e.g., [nyholm/psr7](https://github.com/nyholm/psr7))
- PSR-11 compatible container with `set()` method

Dependencies
------------

[](#dependencies)

The package depends only on **PSR interfaces** and **solophp/contracts**:

DependencyPurposepsr/containerContainer interfacepsr/http-messageHTTP messagespsr/http-server-handlerRequest handlerpsr/http-server-middlewareMiddlewarepsr/http-factoryResponse factorysolophp/contractsWritableContainerInterface, EmitterInterface, RouterInterfaceUsage
-----

[](#usage)

```
// public/index.php
