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
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.2.2 | >=8.1 | ^10.0| | MIT | |
| v1.2.1 | >=8.1 | ^10.0| | MIT | |
| v1.2 | >=8.1 | ^10.0| | MIT | |
| v1.1.1 | >=8.1 | ^10.0| | MIT | |
| v1.1 | >=8.1 | ^10.0| | MIT | |
| v1.0.5 | >=8.1 | ^10.0| | MIT | |
| v1.0.4 | >=8.1 | ^10.0| | MIT | |
| v1.0.3 | >=8.1 | ^10.0| | MIT | |
| v1.0.2 | >=8.1 | ^10.0| | MIT | |
| v1.0.1 | >=8.1 | ^10.0| | ||
| v1.0.0 | >=8.1 | ^10.0| |