HTTPlug

HTTPlug,PHP的HTTP客户端抽象。「HTTPlug, the HTTP client abstraction for PHP」

Github stars Tracking Chart

HTTPlug

Latest Version
Software License
Build Status
Code Coverage
Quality Score
Total Downloads

Slack Status
Email

HTTPlug, the HTTP client abstraction for PHP.

Intro

HTTP client standard built on PSR-7 HTTP
messages. The HTTPlug client interface is compatible with the official standard
for the HTTP client interface, PSR-18.
HTTPlug adds an interface for asynchronous HTTP requests, which PSR-18 does not
cover.

Since HTTPlug has already been widely adopted and a whole ecosystem has been
built around it, we will keep maintaining this package for the time being.
HTTPlug 2.0 and newer extend the PSR-18 interface to allow for a convenient
migration path.

New client implementations and consumers should use the PSR-18 interfaces
directly. In the long term, we expect PSR-18 to completely replace the need
for HTTPlug.

History

HTTPlug is the official successor of the ivory http adapter.
HTTPlug is a predecessor of PSR-18

Install

Via Composer

$ composer require php-http/httplug

Documentation

Please see the official documentation.

Testing

$ composer test

License

The MIT License (MIT). Please see License File for more information.

Main metrics

Overview
Name With Ownerphp-http/httplug
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-04-25 15:56:07
Pushed At2024-09-23 13:25:15
Last Commit At
Release Count14
Last Release Name2.4.1 (Posted on 2024-09-23 13:40:30)
First Release Namev0.1.0 (Posted on )
用户参与
Stargazers Count2.6k
Watchers Count31
Fork Count39
Commits Count244
Has Issues Enabled
Issues Count89
Issue Open Count1
Pull Requests Count70
Pull Requests Open Count0
Pull Requests Close Count17
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private