New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

khaledsabbah/integrations-http

HTTP integration helpers (requests, responses, middlewares, logging, enums, validation) for Laravel apps.
3,473
Install
composer require khaledsabbah/integrations-http
Latest Version:v1.2.2
PHP:>=8.1
Laravel:10 · 11
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

sanchescom/laravel-rest

Eloquent-like models and collections for consuming REST APIs.

1,371 6
laravel-enso/enums

Enums for Laravel Enso

57,811 0
claraleigh/naughty-username

Validate that a username is not a naughty one

24,243 0
livepixel/mercado-pago

Mercado Pago API SDK for Laravel

19,770 22

Version History

Version Released PHP Laravel License
v1.2.2 >=8.1 ^10.0|^11.0 MIT
v1.2.1 >=8.1 ^10.0|^11.0 MIT
v1.2 >=8.1 ^10.0|^11.0 MIT
v1.1.1 >=8.1 ^10.0|^11.0 MIT
v1.1 >=8.1 ^10.0|^11.0 MIT