shrikeh/teapot
Teapot is a PHP library for building and manipulating HAL+JSON hypermedia APIs. It offers straightforward classes for resources, links and collections, making it easy to model and serialise RESTful responses that follow the HAL specification.
Teapot is a lightweight PHP library that provides a complete, well-organised set of HTTP status code constants — from 200 OK to 418 I'm a Teapot — so you never have to hard-code magic numbers again. Drop it into any PSR-7 or framework-based project and reference readable, self-documenting constants instead of raw integers.
Built with zero dependencies and a tiny footprint, Teapot keeps status handling clean and IDE-friendly.
How can I help you explore Laravel packages today?