Download the PHP package beauty-framework/http without Composer
On this page you can find all versions of the php package beauty-framework/http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download beauty-framework/http
More information about beauty-framework/http
Files in beauty-framework/http
Download beauty-framework/http
More information about beauty-framework/http
Files in beauty-framework/http
Please rate this library. Is it a good library?
Informations about the package http
Beauty HTTP Component
The beauty-framework/http package is a lightweight, PSR-compatible HTTP layer for building clean, modular, and fast REST APIs. It is designed to be used as part of the beauty-framework/app, but can also be used independently in any modern PHP project.
Features
- PSR-7 compatible
HttpRequestand customJsonResponse - PSR-15 compatible middleware system via
AbstractMiddleware - Route-level middleware via PHP 8 attributes
-
Support for:
JsonResponseStreamedResponseBinaryFileResponseRedirectResponse
ResponsibleInterfacefor clean resource-to-response conversion- Resource system similar to Laravel's
JsonResource - Type-safe request abstraction for validated input (
HttpRequestextensions) - Extendable response normalization via
ResponseFactory
Installation
Usage Example
Validated Request
JsonResponse
Redirect
File Download
Streamed Response
Custom Resource
Middleware (PSR-15 via AbstractMiddleware)
Attribute-Based Middleware
Testing
Tests are included for all response types and middleware pipeline behavior.
License
MIT License.
All versions of http with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
nyholm/psr7 Version ^1.5
psr/http-message Version ^1.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
beauty-framework/validation Version ^1.0
nyholm/psr7 Version ^1.5
psr/http-message Version ^1.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
beauty-framework/validation Version ^1.0
The package beauty-framework/http contains the following files
Loading the files please wait ...