toin0u/cakephp-yo

Yo plugin for CakePHP 3.x

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:cakephp-plugin

dev-master 2015-06-02 21:40 UTC

README

This is a very simple plugin which allow to use the Yo libary.

Installation

$ composer require 'toin0u/cakephp-yo:dev-master'

Configuration

Add your Yo API key in yout app.php.

// ...

'Yo' => [
    'apiKey' => 'as636bf1-94hs-4t62-9g1k-5feb42ccfde4',
],

// ...

Then add the following line in your initialize method in AppController or in a specific controller.

$this->loadComponent('Yo.Yo');

API

This plugin allows you to create a \Yo\Yo instance by calling:

$yo = $this->Yo->createYo();

Please check the documentation in the library to read more.

Tests

WIP

License

This package is released under the MIT License. See the bundled LICENSE file for details.