Download the PHP package wernerdweight/curler without Composer
On this page you can find all versions of the php package wernerdweight/curler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wernerdweight/curler
More information about wernerdweight/curler
Files in wernerdweight/curler
Download wernerdweight/curler
More information about wernerdweight/curler
Files in wernerdweight/curler
Vendor wernerdweight
Package curler
Short Description cURL helper for PHP
License MIT
Homepage https://github.com/wernerdweight/Curler
Package curler
Short Description cURL helper for PHP
License MIT
Homepage https://github.com/wernerdweight/Curler
Please rate this library. Is it a good library?
Informations about the package curler
Curler
cURL helper for PHP
Instalation
1) Download using composer
2) Use in your project
API
Curler
request(Request $request): Response
\ Allows to fetch data according to given$request
.
Request
setEndpoint(string $endpoint): self
getEndpoint(): ?string
setMethod(string $method): self
getMethod(): ?string
setPayload(array $payload): self
getPayload(): ?array
setHeaders(array $headers): self
addHeader(string $header): self
removeHeader(string $header): bool
getHeaders(): ?array
setAuthentication(string $user, string $password): self
getAuthentication(): ?array
setBearerAuthorization(string $token): self
Response
getMetaData(): WernerDweight\RA\RA
\ cURL info (see here).ok(): bool
\ Returns a boolean stating whether the response was successful (status in the range 200-299) or not.redirected(): bool
\ Returns whether or not the response is the result of a redirect; that is, redirect count is more than zero.status(): int
\ Returns the status code of the response (e.g., 200 for a success).contentType(): string
\ Returns the content type of the response (e.g., text/html).url(): string
\ Returns the URL of the response.text(): string
\ Returns the response as text.json(): WernerDweight\RA\RA
Returns the response as RA (see here).
All versions of curler with dependencies
PHP Build Version
Package Version
The package wernerdweight/curler contains the following files
Loading the files please wait ....