Search by

An HTTP request handling library for modern PHP

Package info

github.com/substancephp/http

pkg:composer/substancephp/http

Statistics

Installs: 118

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.7.1 2026-08-30 20:35 UTC

README

CI

Overview

substancephp/http is a library for building web applications in PHP. It supports rendering both JSON and HTML.

This is a work in progress and is not ready for general use. There are regularly breaking changes from version to version.

Philosophy

This project embraces:

  • Modern PHP
  • PSR standards
  • Filepath based routing
  • Inversion of control
  • Static analysis

This project steers away from:

  • Compilation steps (e.g. no template compilation)
  • Controller classes

Getting started

TODO

Table of contents

The following feature docs are planned but not yet written:

  • Routing (TODO)
  • Actions (TODO)
  • Middleware (TODO)
  • Application setup (TODO)
  • Requests and parameters (TODO)
  • Responses and content types (TODO)
  • Error handling (TODO)