PHP Package: psr-discovery/http-client-implementations

PHP library for discovering and implementing HTTP clients efficiently

Current Version: 1.4.0
Last Updated: 2024-12-05
PHP Requirement: ^8.2
Dependencies:
php-fig/http-client
guzzle/guzzle
symfony/http-client
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Explore diverse HTTP client implementations in PHP with ease using this library. Discover and integrate various HTTP client technologies optimized for performance and flexibility. This library simplifies the process of selecting the ideal HTTP client for your applications, ensuring seamless communication with external APIs and web services.

🔗 View on GitHub

Download Latest Version: 1.4.0

Download Download v1.4.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/psr-discovery/http-client-implementations/1.4.0/loader.php';
require_once 'libs/php-fig/http-client/1.0.3/loader.php';
require_once 'libs/guzzle/guzzle/7.10.0/loader.php';
require_once 'libs/symfony/http-client/7.4.0/loader.php';

use Psr\Discovery\HttpClientImplementations\ClientDiscovery;
use GuzzleHttp\Client;
use Symfony\Component\HttpClient\HttpClient;

$obj = new ClientDiscovery();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.