Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Teapot Laravel Package

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.

Deep Wiki
Context7

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.

  • Constants for every standard HTTP status code, grouped by class (1xx–5xx)
  • Human-readable reason phrases for each code
  • No dependencies; works with any PHP project or framework
  • Static API that autocompletes in your IDE
  • Ideal for PSR-7 responses and middleware
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core