php-http/curl-client
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
php-http/discovery | 1.19.4 | - | MIT | prod | |
php-http/httplug | 2.4.0 | 10.2 kB | MIT | prod dev | |
php-http/message | 1.16.1 | - | MIT | prod | |
psr/http-client | 1.0.3 | - | MIT | prod dev | |
symfony/options-resolver | v7.0.7 | - | MIT | prod |
The php-http/curl-client is a high-functioning PSR-18 and HTTPlug Async client specializing in the use of cURL. Its primary function is to utilize the cURL PHP extension, which must be enabled in your php.ini
file. Being released under the MIT License, this popularly downloaded package is available for access and modification by developers, enhancing the usability and functionality of their PHP projects.
You can start using the php-http/curl-client by installing it through Composer. This can be done by running the command $ composer require php-http/curl-client
in your command line interface. Before initiating, ensure that the appropriate cURL PHP extension is enabled in your php.ini
file.
For testing purposes, you can execute the composer test
command. Here is a basic example of how to use it:
# Install the package
composer require php-http/curl-client
# Use the package in your code
use Http\Client\Curl\Client;
$client = new Client(); // You successfully initiated the Curl client.
The specifics of usage depend on your particular project needs and which parts of the package functionality you are aiming to utilize.
The official documentation for the php-http/curl-client can be found at the PHP HTTP website. Comprehensive and user-friendly, this resource covers all aspects of using and contributing to the php-http/curl-client, making it an essential tool for both novice PHP developers and experienced programmers. For more information on specific topics, such as contributing details, conduct, and security issues, refer to the respective files (CONTRIBUTING.md, CONDUCT.md, and referencing 'security@php-http.org' for security matters) mentioned in the readme guide.