Common Cast
AtomExplicit type coercers. Conversion is a decision, never an accident.
Atom ยท Library
The interfaces every commons package agrees on. Contracts only: no logic, no leaks.
composer require phprise/common-contractCommon 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.
Small, composable traits shared by the commons. Behaviour you can attach, not inherit.
PHP primitives wrapped with intent: if it is a string, say which string.