Common Cast
AtomExplicit type coercers. Conversion is a decision, never an accident.
Atom ยท Library
PSR-aligned HTTP contracts. The promise, written before the code.
composer require phprise/http-contractHTTP 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.
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.
Same shape
Explicit type coercers. Conversion is a decision, never an accident.
The interfaces every commons package agrees on. Contracts only: no logic, no leaks.
Small, composable traits shared by the commons. Behaviour you can attach, not inherit.