Atom ยท Library

HTTP Contracts

PSR-aligned HTTP contracts. The promise, written before the code.

composer require phprise/http-contract

What it is

HTTP Contracts is an atomic repository: the smallest unit that still fulfils a complete contract. It has no subdirectories and no dependencies beyond the contracts it implements. Its full documentation, tests and contribution rules live in the repository.

Contract

Every PHPRise package follows the same promise: small surface, explicit dependencies, no hidden globals, and a contract you can replace. Read the manifesto for the rules this repository obeys.

Shape
Atom
Kind
Library
Language
PHP
Last commit
Jan 10, 2026
Stars
0

Same shape

Other atoms

Common Cast

Atom

Explicit type coercers. Conversion is a decision, never an accident.

phprise/common-cast

Common Contracts

Atom

The interfaces every commons package agrees on. Contracts only: no logic, no leaks.

phprise/common-contract

Common Traits

Atom

Small, composable traits shared by the commons. Behaviour you can attach, not inherit.