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.1(1mo ago)097MITPHPPHP ^8.2

Since Oct 18Pushed 1mo ago1 watchersCompare

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

READMEChangelog (9)Dependencies (30)Versions (10)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/06e33fb4024f7f9c576cc80d22e78dbb33bd31fd8dbf978c6effb2adbf0f5087/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d39352532352d627269676874677265656e2e737667)](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 framework lock-in.

Features
--------

[](#features)

- PSR-15 middleware pipeline with lazy resolution from the container
- PSR-11 container integration with writable extension
- Service providers for dependency registration
- Three handler forms: controller methods, invokable classes, callables
- Built only on PSR interfaces and `solophp/contracts`

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

[](#installation)

```
composer require solophp/application
```

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

[](#requirements)

- PHP 8.2+
- A PSR-7/PSR-17 implementation (e.g., [nyholm/psr7](https://github.com/nyholm/psr7))
- A container implementing `Solo\Contracts\Container\WritableContainerInterface`
- An HTTP emitter implementing `Solo\Contracts\Http\EmitterInterface`
- A router implementing `Solo\Contracts\Router\RouterInterface` (e.g., [solophp/router](https://github.com/solophp/router))

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

[](#dependencies)

DependencyPurposepsr/containerContainer interfacepsr/http-messageHTTP messagespsr/http-server-handlerRequest handlerpsr/http-server-middlewareMiddlewarepsr/http-factoryResponse factorysolophp/contracts`WritableContainerInterface`, `EmitterInterface`, `RouterInterface`Quick Start
-----------

[](#quick-start)

```
// public/index.php
