Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 3, 2024 via composer

php-http/httplug 2.4.0

HTTPlug, the HTTP client abstraction for PHP
Package summary
Share
0
issues
1
license
3
MIT
Package created
1 Oct 2015
Version published
14 Apr 2023
Maintainers
3
Total deps
3
Direct deps
2
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
php-http/httplug@2.4.0
php-http/promise@1.3.1
psr/http-client@1.0.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of php-http/httplug 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
php-http/promise1.3.1-MIT
prod
psr/http-client1.0.3-MIT
prod

Visualizations

Frequently Asked Questions

What does php-http/httplug do?

The php-http/httplug package is essentially an HTTP client abstraction for PHP. Built on PSR-7 HTTP messages, it offers a standard for HTTP clients, with a primary focus on providing an asynchronous HTTP client interface. For synchronous requests, it is recommended to use PSR-18 directly. HTTPlug is the official successor to the ivory http adapter and is a predecessor of PSR-18.

How do you use php-http/httplug?

Using php-http/httplug requires installing the package with Composer, a popular dependency management tool for PHP. You would input the following command into your terminal or command prompt:

$ composer require php-http/httplug

Once installed, you can utilize HTTPlug throughout your PHP projects to facilitate asynchronous HTTP client tasks. Note that while it has a synchronous HttpClient interface, for most straightforward synchronous requests, using PSR-18 directly is advised.

Where are the php-http/httplug docs?

The official documentation for php-http/httplug, including comprehensive information about its features, methods, and usage, can be found at the following URL: http://docs.php-http.org. This is your go-to resource for understanding how to effectively leverage the http/httplug in your PHP projects.