PHPackages                             bastianleicht/sub-services-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bastianleicht/sub-services-php

ActiveLibrary[API Development](/categories/api)

bastianleicht/sub-services-php
==============================

A full-featured implementation of the Sub.Services API

00PHP

Since Nov 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bastianleicht/sub-services-php)[ Packagist](https://packagist.org/packages/bastianleicht/sub-services-php)[ RSS](/packages/bastianleicht-sub-services-php/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Sub-Services PHP API Client
===========================

[](#sub-services-php-api-client)

This **PHP 7.2+** library allows you to communicate with the Sub.Services API.

[![Latest Stable Version](https://camo.githubusercontent.com/c666b0fb50e449b0316f7ba33268f2ca37be78f12867962c0057e0a70490dc99/687474703a2f2f706f7365722e707567782e6f72672f6261737469616e6c65696368742f7375622d73657276696365732d7068702f76)](https://packagist.org/packages/bastianleicht/sub-services-php)[![Total Downloads](https://camo.githubusercontent.com/e6e3cfda06f51c12b296a1f5ad8c72738b5fde6b5395fd591f48cf618e552eee/687474703a2f2f706f7365722e707567782e6f72672f6261737469616e6c65696368742f7375622d73657276696365732d7068702f646f776e6c6f616473)](https://packagist.org/packages/bastianleicht/sub-services-php)[![Latest Unstable Version](https://camo.githubusercontent.com/7ed27f2003fd779689b910b4eda5ee6346b18591f487d2cf70e70903ae81b6f9/687474703a2f2f706f7365722e707567782e6f72672f6261737469616e6c65696368742f7375622d73657276696365732d7068702f762f756e737461626c65)](https://packagist.org/packages/bastianleicht/sub-services-php)[![License](https://camo.githubusercontent.com/d707557f7569b7e2910cc55134a40fbcaddc00266571095fff432da0d2736a52/687474703a2f2f706f7365722e707567782e6f72672f6261737469616e6c65696368742f7375622d73657276696365732d7068702f6c6963656e7365)](https://packagist.org/packages/bastianleicht/sub-services-php)

> You can find the full API documentation [here](https://sub.services/go/api-docs)!

Getting Started
---------------

[](#getting-started)

Recommended installation is using **Composer**!

In the root of your project execute the following:

```
$ composer require bastianleicht/sub-services-php
```

Or add this to your `composer.json` file:

```
{
    "require": {
        "bastianleicht/sub-services-php": "^1.0"
    }
}
```

Then perform the installation:

```
$ composer install --no-dev
```

### Examples

[](#examples)

Creating the SubServices main object:

```
