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

https://github.com/yoast/subscription-api-php-client

The subscription API can be used by Yoast partners to create subscriptions in MyYoast.
https://github.com/yoast/subscription-api-php-client

Last synced: 7 months ago
JSON representation

The subscription API can be used by Yoast partners to create subscriptions in MyYoast.

Awesome Lists containing this project

README

          

# subscription-api-php-client
The Yoast provisioning API

This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen

## Requirements

PHP 5.5 and later

## Installation & Usage
### Composer

To install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:

```
{
"repositories": [
{
"type": "git",
"url": "https://github.com/yoast/subscription-api-php-client.git"
}
],
"require": {
"yoast/subscription-api-php-client": "*@dev"
}
}
```

Then run `composer install`

### Manual Installation

Download the files and include `autoload.php`:

```php
require_once('/path/to/subscription-api-php-client/vendor/autoload.php');
```

## Tests

To run the unit tests:

```
composer install
./vendor/bin/phpunit
```

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```php

```

Documentation on how to use the subscription API, can be found [in the developer docs.](https://developer.yoast.com/customization/myyoast/apis/subscription-api)