johnnricardo / http-contract
The HTTP contract applying the OTAKU philosophy and following the PSR-12, PSR-7, PSR-18, and PSR-14.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
pkg:composer/johnnricardo/http-contract
Requires
- php: ^8.4
- phprise/common-value-object: ^1.0
- phprise/data-transfer-object: ^1.1
- psr/http-message: ^2.0
Requires (Dev)
- phpunit/phpunit: ^12.5
- vimeo/psalm: ^6.14
README
The HTTP contract applying the OTAKU philosophy and following the PSR-12, PSR-7, PSR-18, and PSR-14.
Installation
composer require phprise/http-contract
Usage
Philosophy
We follow The OTAKU Manifesto: Fluid Structure Design.
- O - Own your Discipline (Be strict with yourself)
- T - Tools for Composition (Compose like Unix)
- A - Armor the Core (Protect the heart of the business)
- K - Keep Infrastructure Silent (Infrastructure is just a detail)
- U - Universal Language & Contracts (Speak the user's language via clear contracts)
Please read more about it in PHILOSOPHY.md.
License
MIT License
Free to use, modify, and distribute.
Contributing
See how to contribute in CONTRIBUTING.md.
Code of Conduct
See our code of conduct in CODE_OF_CONDUCT.md.
Security
See our security policy in SECURITY.md.