Skip to content

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

Notifications You must be signed in to change notification settings

Yoast/subscription-api-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subscription-api-php-client

The Yoast provisioning API

This PHP package is automatically generated by the 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, 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:

    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 and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');
?>

Documentation on how to use the subscription API, can be found in the developer docs.

About

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

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published