Download the PHP package weew/http without Composer
On this page you can find all versions of the php package weew/http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package http
HTTP layer for PHP
Table of contents
- Installation
- Responses
- Basic response
- Content
- Status codes
- Headers
- Cookies
- Custom responses
- HtmlResponse
- JsonResponse
- BasicAuthResponse
- Requests
- Basic request
- GET parameters
- POST data
- Headers
- Current request
- Basic authentication
- Related projects
Installation
composer require weew/http
Responses
Basic response
Content
Status codes
Headers
Cookies
Custom responses
HtmlResponse
JsonResponse
BasicAuthResponse
Requests
Basic request
It is very easy to build a custom request.
GET parameters
POST data
Headers
You can access headers the same way as on the HttpResponse
class.
Current Request
Sometimes it is nice to have an object that would represent the current received http request.
Basic Authentication
It is very easy to authenticate a request via basic auth.
Related Projects
- URL: used throughout the project.
- HTTP Client: a simple http client that allows you to send and receive the standardized HttpRequest and HttpResponse objects.
All versions of http with dependencies
PHP Build Version
Package Version
Requires
weew/helpers-array Version
^1.0
weew/helpers-string Version ^1.0
weew/url Version ^2.0
weew/contracts Version ^1.1
weew/json-encoder Version ^1.0
weew/helpers-string Version ^1.0
weew/url Version ^2.0
weew/contracts Version ^1.1
weew/json-encoder Version ^1.0
The package weew/http contains the following files
Loading the files please wait ....