khaledsabbah/integrations-http
HTTP integration helpers (requests, responses, middlewares, logging, enums, validation) for Laravel apps.
3,257
| Install | |
|---|---|
composer require khaledsabbah/integrations-http |
|
| Latest Version: | v1.2.2 |
| PHP: | >=8.1 |
| License: | MIT |
| Last Updated: | Dec 28, 2025 |
| Links: | GitHub · Packagist |
Maintainer: khaledsabbah
Laravel integration
Publish config with:
php artisan vendor:publish --provider="Idaratech\Integrations\IntegrationsServiceProvider" --tag=config
Method & Content-Type Enums
Use MethodEnum for HTTP verbs and ContentTypeEnum for clean content-type headers:
use Idaratech\Integrations\Http\Enums\Method as M;
use Idaratech\Integrations\Http\Enums\ContentType as CT;
use Idaratech\Integrations\Http\Enums\HeaderKey as HK;
$request->headers()[HK::CONTENT_TYPE->key()] = CT::JSON->mime();
public function method(): M
{
return M::POST;
}
Related Packages
henzeb/enumhancer
Your framework-agnostic Swiss Army knife for PHP 8.1+ native enums
425,752
69
8.1
8.2
backed
backedenum
basic
binding
bitmask
bitmasks
blade
cast
casting
comparison
default
dropdown
eloquent
enum
enumerator
enumerators
enumhancer
enums
extract
extractor
from
henzeb
ide-helper
implicit
labels
laravel
list
logging
machine
macroable
macros
mappers
native
php 8.1
php 8.2
properties
report
reporting
rules
select
spatie
state
string
stringable
subset
transition
tryfrom
unit
unitenum
validation
value