dev-master
9999999-dev https://github.com/toin0u/cakephp-yoYo plugin for CakePHP 3.x
MIT
The Requires
- php >=5.4.16
- cakephp/cakephp ~3.0
- toin0u/yo ~1.0
cakephp yo
Yo plugin for CakePHP 3.x
This is a very simple plugin which allow to use the Yo libary., (*1)
$ composer require 'toin0u/cakephp-yo:dev-master'
Add your Yo API key in yout app.php
., (*2)
// ... 'Yo' => [ 'apiKey' => 'as636bf1-94hs-4t62-9g1k-5feb42ccfde4', ], // ...
Then add the following line in your initialize
method in AppController
or in a specific controller., (*3)
$this->loadComponent('Yo.Yo');
This plugin allows you to create a \Yo\Yo
instance by calling:, (*4)
$yo = $this->Yo->createYo();
Please check the documentation in the library to read more., (*5)
WIP, (*6)
This package is released under the MIT License. See the bundled LICENSE file for details., (*7)
Yo plugin for CakePHP 3.x
MIT
cakephp yo