Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qase-tms/qase-php-client

Qase TMS PHP client.
https://github.com/qase-tms/qase-php-client

api client http openapi php qase rest tms

Last synced: about 4 hours ago
JSON representation

Qase TMS PHP client.

Awesome Lists containing this project

README

        

> # Qase TMS PHP client
>
> Auto-generated code based on our [OpenAPI specification][api].

## How to integrate

```bash
$ composer require qase/api
```

## Example of usage

```php
use GuzzleHttp\Client;
use Qase\Client\Api\RunsApi;
use Qase\Client\Configuration;
use Qase\Client\Model\RunCreate;

$config = Configuration::getDefaultConfiguration()
->setHost(getenv('QASE_API_BASE_URL'))
->setApiKey('Token', getenv('QASE_API_TOKEN'));

$runApi = new RunsApi($client, $config);

$run = $runApi->createRun(getenv('QASE_PROJECT_CODE'), new RunCreate([
'title' => sprintf('PHPUnit [%F]', microtime(true)),
'is_autotest' => true,
]));
```

[api]: https://github.com/qase-tms/specs