Download the PHP package adbros/controller-tester without Composer
On this page you can find all versions of the php package adbros/controller-tester. 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 controller-tester
ControllerTester
Simple Apitte Controllers testing.
Installation
Configuration
Just register ControllerTester in config.neon.
Usage
TestControllerRequest API
TestControllerRequest is immutable object.
withParameters(array $parameters)
Add QUERY parameters.
withMethod(string $method)
Set HTTP method. Default method is GET
.
withRawBody(string $body)
Set request RAW body.
withJsonBody(array $body)
Set request JSON body.
withParsedBody(array $body)
Set POST request with parsed body like x-www-form-urlencoded.
withFile(string $name, string $filePath)
Add file - Psr7UploadedFile
withHeaders(array $headers)
Add HTTP headers.
withProtocolVersion(string $protocolVersion)
Set HTTP protocol version. Default protocol version is 1.1
.
withServerParams(array $serverParams)
Add SERVER parameters.
All versions of controller-tester with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
contributte/apitte Version ^0.9 | ^0.10 | ^0.11 || ^0.12
nette/tester Version ^2.0
contributte/apitte Version ^0.9 | ^0.10 | ^0.11 || ^0.12
nette/tester Version ^2.0
The package adbros/controller-tester contains the following files
Loading the files please wait ....