PHPackages                             httpsoft/http-app - 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. httpsoft/http-app

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

httpsoft/http-app
=================

HTTP Software Application Template

1.1.1(1y ago)201491MITPHPPHP ^7.4|^8.0

Since Nov 8Pushed 1y ago2 watchersCompare

[ Source](https://github.com/httpsoft/http-app)[ Packagist](https://packagist.org/packages/httpsoft/http-app)[ Docs](https://httpsoft.org/)[ RSS](/packages/httpsoft-http-app/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (9)Versions (6)Used By (0)

HTTP Software Application Template
==================================

[](#http-software-application-template)

[![License](https://camo.githubusercontent.com/344c619bd83f58674484177154e50dc3da210e04c3fae0c2ce0357ff64e9a6d6/68747470733a2f2f706f7365722e707567782e6f72672f68747470736f66742f687474702d6170702f6c6963656e7365)](https://packagist.org/packages/httpsoft/http-app)[![Latest Stable Version](https://camo.githubusercontent.com/4fda23b96bd927501156c00e49630ca7df8cd7713e4a687d5937cc2c1f49fcd2/68747470733a2f2f706f7365722e707567782e6f72672f68747470736f66742f687474702d6170702f76)](https://packagist.org/packages/httpsoft/http-app)[![Total Downloads](https://camo.githubusercontent.com/ce8ad74ebf235e281acd8669a237455957fe796b4ca6d14aaa23c1c7eff430ae/68747470733a2f2f706f7365722e707567782e6f72672f68747470736f66742f687474702d6170702f646f776e6c6f616473)](https://packagist.org/packages/httpsoft/http-app)[![GitHub Build Status](https://github.com/httpsoft/http-app/workflows/build/badge.svg)](https://github.com/httpsoft/http-app/actions)[![GitHub Static Analysis Status](https://github.com/httpsoft/http-app/workflows/static/badge.svg)](https://github.com/httpsoft/http-app/actions)[![Scrutinizer Code Coverage](https://camo.githubusercontent.com/e2b8954d9cdd66b08f1bbd3d00cbd5a589a5f878e2310aae12a611944962f8b8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f68747470736f66742f687474702d6170702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/httpsoft/http-app/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/51726cb1b33ca3ec3b91454dd1c3557f05f2b73e99d8d87a6f1608a13782062b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f68747470736f66742f687474702d6170702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/httpsoft/http-app/?branch=master)

HTTP application template for quickly creating simple but powerful web applications and APIs. «Out of the box», the application template is configured to work with JSON for rapid REST API development.

The core of this application template is the [httpsoft/http-basis](https://github.com/httpsoft/http-basis) microframework. By default, the [devanych/di-container](https://github.com/devanych/di-container) that implements [PSR-11](https://github.com/php-fig/container) and the [monolog/monolog](https://github.com/Seldaek/monolog) logger that implements [PSR-3](https://github.com/php-fig/log) are also used. You can easily change the container and logger to your preferred implementations of the corresponding PSRs.

Documentation
-------------

[](#documentation)

- [In English language](https://httpsoft.org/docs/app).
- [In Russian language](https://httpsoft.org/ru/docs/app).

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

[](#installation)

This project template requires PHP version 7.4 or later.

```
composer create-project --prefer-dist httpsoft/http-app
```

To verify the installation, go to `` and start the PHP built-in web server:

```
cd
composer run serve
```

After that, open `http://localhost:8080` in your browser.

Testing and checking
--------------------

[](#testing-and-checking)

The following commands are run in the application directory:

- `composer run test` — runs tests.
- `composer run static` — runs static analysis code.
- `composer run cs-check` — runs checking coding standards.
- `composer run cs-fix` — runs automatic correction of violations of encoding standards.
- `composer run check` — runs checking coding standards, static analysis code and tests.

Directory structure
-------------------

[](#directory-structure)

By default, the application template has the following structure:

```
bin/                  Executable console scripts.
    chmod-var.php     Recursively changing the "var/" directory mode.
config/               Configuration files.
    config.php        Main configuration.
    container.php     Dependency injection.
    pipeline.php      Middleware pipeline.
    routes.php        HTTP request routes.
public/               Files publically accessible from the Internet.
    index.php         Entry script.
src/                  Application source code.
    Http/             HTTP application classes (actions, middelware, etc.).
    Infrastructure/   Helper classes (factories, listeners, etc.).
    Model/            Domain model classes (entities, repositories, etc.).
tests/                A set of tests for the application.
vendor/               Installed Composer packages.
var/                  Temporary files (logs, cache, etc.).

```

You can change the structure of the application template as you like.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~378 days

Total

5

Last Release

550d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ab952aaa5ac8f82d6e96ef74c2f69082674a97eb3bc62f9d96c7304b2b4b082?d=identicon)[devanych](/maintainers/devanych)

---

Top Contributors

[![devanych](https://avatars.githubusercontent.com/u/20116244?v=4)](https://github.com/devanych "devanych (39 commits)")

---

Tags

appapp-templatehttpphpproject-templatepsr-11psr-15psr-7httppsr-7phpPSR-11psr-15project templateappapp-template

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/httpsoft-http-app/health.svg)

```
[![Health](https://phpackages.com/badges/httpsoft-http-app/health.svg)](https://phpackages.com/packages/httpsoft-http-app)
```

###  Alternatives

[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M125](/packages/mezzio-mezzio)[middlewares/utils

Common utils for PSR-15 middleware packages

503.7M94](/packages/middlewares-utils)[httpsoft/http-basis

Simple and fast HTTP microframework implementing PSR standards

1343.1k1](/packages/httpsoft-http-basis)[swoole-bundle/swoole-bundle

Open/Swoole Symfony Bundle

7262.8k](/packages/swoole-bundle-swoole-bundle)[httpsoft/http-runner

Running PSR-7 components and building PSR-15 middleware pipelines

1464.7k6](/packages/httpsoft-http-runner)

PHPackages © 2026

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