Yo API PHP Package

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 1

0.2.1 2014-09-15 14:43 UTC


This package lets u perform actions on the Yo Developers API.

Build Status Scrutinizer Code Quality Code Coverage Dependencies Status

It has no extra dependencies but it can play nice with other curl or http clients by creating an adapter just implement the YoClientInterface and inject it into the Yo class.


We encourage you to read the documentation carefully before proceeding.

Installing via Composer (recommended)

Install composer in your project:

curl -s http://getcomposer.org/installer | php

Create a composer.json file in your project root:

    "require": {
        "websoftwares/yo": "~0.2"

Install via composer

php composer.phar install


Basic usage of the Yo class.

use Websoftwares\YoClient, Websoftwares\Yo;

// apiKey
$apiKey = 'obtain-valid-api-key-from-yo';

// Instantiate class
$Yo = new Yo(new YoClient($apiKey));

// Perform method


This will yo all your subscribers


(optional) provide a link argument This will yo all your subscribers with a link



This will yo an individual user


(optional) provide a link argument This will yo an individual user with a link

$yo->user("BORIS010", "yo.websoftwar.es");


Returns the amount of subscribers



In the tests folder u can find several tests.


  • Unit testing 100%
  • PSR compliance
  • Implement new methods from Yo API when they are available


The MIT License (MIT).