Download the PHP package jumbodroid/httpclient without Composer

On this page you can find all versions of the php package jumbodroid/httpclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package httpclient

httpclient

httpclient is a PHP & Laravel package, designed to help PHP developers build robust modern applications that interact with other applications and APIs in the backend to deliver experiences that users love.

httpclient adopts and adheres to or implements the following PHP Standards Recommendations (PSRs):

Leverage httpclient to build modern interconnected applications for the web.

httpclient saves you the hustle of dealing with the more mundane and lower level APIs needed to create interconnected web applications.

Installation

composer require jumbodroid/httpclient

Usage

PSR-7

PSR-7 describes common interfaces for representing HTTP messages as described in RFC 7230 and RFC 7231, and URIs for use with HTTP messages as described in RFC 3986. This package includes an implementation of PSR-7.

Request | Response

Use the getHeaderLine() method to retrieve a header value as a string containing all header values of a case-insensitive header by name concatenated with a comma.

Use getHeader() to retrieve an array of all the header values for a particular case-insensitive header by name.

Note: Not all header values can be concatenated using a comma (e.g., Set-Cookie). When working with such headers, consumers of Request and Response classes SHOULD rely on the getHeader() method for retrieving such multi-valued headers.

Request

Outgoing, client-side request

Incoming, server-side request

Response

Outgoing, server-side response

Stream

Uri

UploadedFile

PSR-17

PSR-17 describes a common standard for factories that create PSR-7 compliant HTTP objects. This package provides an implementation of PSR-17.

RequestFactory

ResponseFactory

ServerRequestFactory

StreamFactory

UploadedFileFactory

UriFactory

PSR-18

Client - A Client is a library that implements this specification for the purposes of sending PSR-7-compatible HTTP Request messages and returning a PSR-7-compatible HTTP Response message to a Calling library.

Calling Library - A Calling Library is any code that makes use of a Client. It does not implement this specification's interfaces but consumes an object that implements them (a Client).

Client

ClientException

RequestException

NetworkException


All versions of httpclient with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.5
ext-curl Version *
psr/http-message Version >=2.0
psr/http-factory Version >=1.0
psr/http-client Version >=1.0
symfony/options-resolver Version >=5.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jumbodroid/httpclient contains the following files

Loading the files please wait ....