kayex/http-codes
Laravel package that supplies HTTP status code constants and convenient helpers for generating standardized error responses and custom error pages, helping keep API and web error handling consistent throughout your application.
kayex/http-codes is a lightweight PHP package that gives you a clean, typed representation of HTTP status codes instead of scattering raw integers like 404 or 500 through your codebase. It pairs each code with its standard reason phrase, making responses and logs easier to read and less error-prone.
Ideal for APIs and services that want self-documenting status handling without pulling in a heavy dependency.
How can I help you explore Laravel packages today?