juststeveking/http-status-code
PHP package that turns HTTP status codes into a typed enum, with helpers for messages, code categories and Laravel validation. Replace magic numbers with descriptive cases for clearer, safer API and controller responses—no more guessing what 418 means.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| delight-im/http | 0.90 | A lightweight, framework-agnostic HTTP utility library for PHP. It provides simple objects for requests, responses, URLs, and headers, plus helpers for methods, status codes, and content types, so you can read and build HTTP messages in any PHP application. | 18 | 19 | 4 | 53K | 0 | 0.2 | 47.6 | MIT | — | |
| juststeveking/kit | 0.87 | Kit is a Laravel package from JustSteveKing that bundles practical helpers, utilities and conventions to speed up everyday development. Drop it into any project to cut boilerplate, keep code consistent, and ship features faster with less repetition—a handy toolkit for Laravel developers. | 115 | 114 | 9 | 30 | 0 | 20.5 | 1.6 | MIT | 1 week ago | |
| fig/http-message-util | 0.87 | Utility constants and helpers for PSR-7 HTTP messages: request methods, response status codes and reason phrases, and common header references. Not a PSR-7 implementation—just shared values to standardize HTTP message handling. | 394 | 398 | 20 | 3M | 2 | 5.3 | 54.6 | MIT | 5 years ago | |
| ergebnis/http-method | 0.87 | A small Composer package providing named constants for HTTP request methods, so you can reference GET, POST, PUT, PATCH, DELETE, and others by name instead of magic strings in your PHP code. | 95 | 95 | 2 | 10K | 0 | 22.2 | 32.7 | MIT | 1 month ago | |
| juststeveking/api-toolbox | 0.86 | A Laravel toolkit for building and documenting consistent APIs, with helpers for responses, errors, and OpenAPI-ready resources that keep endpoint code clean and predictable. | 9 | 9 | 0 | 9K | 0 | 20.0 | 48.1 | MIT | 1 week ago | |
| shrikeh/teapot | 0.86 | 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. | 273 | — | 16 | — | 1 | 2.0 | — | MIT | 2 years ago |
|
| dragon-code/api-response | 0.86 | Build consistent Laravel API responses with a fluent, macro-friendly builder. Dragon Code's api-response helps you return success and error payloads, HTTP status codes, and resource collections in a uniform JSON shape, cutting boilerplate and keeping endpoints predictable. | 36 | 38 | 0 | 0 | 0 | 0.3 | — | MIT | 4 years ago | |
| juststeveking/http-helpers | 0.85 | A lightweight set of HTTP helper utilities for Laravel that reduces boilerplate around common request and response tasks, making controllers cleaner and easier to read. | 6 | 6 | 0 | 67 | 0 | 0.3 | 14.2 | MIT | 3 years ago | |
| juststeveking/config | 0.85 | A Laravel/PHP configuration package from Steve King that offers a simple way to organize and access application settings, helping keep config handling clean and straightforward in Laravel projects. | 1 | 1 | 1 | 4 | 0 | 0.4 | 6.6 | MIT | 5 years ago | |
| juststeveking/uri-builder | 0.85 | juststeveking/uri-builder is a lightweight, fluent URI builder for PHP and Laravel. It lets you construct and manipulate URLs through a clean, chainable API for schemes, hosts, paths, query parameters, and fragments, avoiding fragile manual string concatenation. Ideal for consistent link generation. | 20 | 20 | 7 | 3K | 1 | 0.8 | 29.5 | MIT | 4 years ago | |
| everycheck/api-rest-utils | 0.85 | A Symfony utility package offering a JSON response builder with common API statuses and custom headers, plus a paginated repository trait for filtering, ordering, and searching entities across joins. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| phptcloud/symfony-jsend-bundle | 0.85 | Symfony bundle for JSend-compliant JSON responses. Standardize API output with consistent status, data, message and code fields, making client-side handling simpler. Integrates easily into Symfony controllers and services. | 14 | 14 | 2 | 0 | 1 | 0.5 | — | MIT | 2 years ago | |
| havvg/http-exception | 0.85 | havvg/http-exception provides lightweight, framework-agnostic HTTP exception classes for PHP, covering common 4xx and 5xx status codes with reason phrases. Throw typed exceptions to signal HTTP errors and map them cleanly to responses or middleware. | 2 | 2 | 1 | 191 | 0 | 0.1 | 25.0 | MIT | — | |
| justbetter/statamic-starter-kit | 0.85 | A ready-to-use starter kit for Statamic by JustBetter. It scaffolds a new site with sensible defaults, preconfigured content models, layouts and tooling so you can skip boilerplate and start building. Ideal for launching client projects quickly with a consistent, maintainable foundation. | 0 | — | 0 | — | 0 | 20.6 | 1.3 | — | 4 days ago | |
| etsglobal/php-static-analysis | 0.85 | A PHP static analysis package from ETS Global for inspecting PHP codebases and supporting code quality workflows. Integrates into Laravel/PHP projects to help surface potential issues, encourage cleaner code, and complement existing test and CI pipelines with additional static checks. | 0 | 0 | — | 50 | — | 0.0 | 23.6 | — | — | |
| juststeveking/php-sdk | 0.85 | A framework-agnostic PHP SDK that provides a clean, lightweight foundation for building and consuming API clients. It simplifies request handling and response structure for PHP and Laravel projects, making integrations easier to build and reuse. | 215 | 217 | 13 | 121 | 0 | 1.8 | 2.7 | MIT | 2 years ago | |
| teapot/status-code | 0.85 | teapot/status-code gives Laravel and PHP apps a clean way to reference HTTP status codes. Replace magic numbers with readable constants and helpers in responses, middleware, and tests, keeping your API consistent and self-documenting, with a touch of teapot humor. | 45 | 46 | 4 | 42K | 4 | 3.4 | 45.4 | — | 11 months ago | |
| symblaze/http-bundle | 0.85 | SymBlaze HTTP Bundle is a Symfony bundle that packages reusable HTTP utilities into a single installable dependency, helping keep request and response handling consistent across projects. Lightweight, configuration-driven, and simple to wire into existing Symfony applications. | 0 | — | 0 | — | 2 | 0.7 | — | MIT | 2 years ago | |
| juststeveking/sdk-tools | 0.85 | Tools for building SDKs in Laravel and PHP. juststeveking/sdk-tools provides utilities and conventions to scaffold, structure, and maintain API client packages, cutting boilerplate so you can ship clean, consistent SDKs faster. | 19 | 20 | 0 | 460 | 0 | 0.4 | 19.1 | MIT | 3 years ago | |
| andrey-helldar/laravel-json-response | 0.85 | A Laravel package for building consistent JSON API responses with a fluent helper, standard success and error payloads, HTTP status codes, headers, and resource support, simplifying controller output and keeping API responses uniform. | 12 | — | 1 | — | 0 | 4.1 | — | MIT | 7 months ago |
How can I help you explore Laravel packages today?